Skip to content

Commit

Permalink
Fix leftovers from transfer to own repo (#4)
Browse files Browse the repository at this point in the history
* Rename variable to match folder name
* Use new build

Signed-off-by: apetrynet <[email protected]>
  • Loading branch information
apetrynet authored Feb 16, 2023
1 parent 67597c4 commit e966695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python -m pip install --upgrade pip build twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
# You need to add a token to your repo's secrets
# Make sure you match the name of your secret to the token name below.
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel --universal
python -m build
# Make sure everything works on testpypi before releasing on pypi
twine upload --repository pypi dist/*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Homepage = "https://github.com/OpenTimelineIO/otio-svg-adapter"
Tracker = "https://github.com/OpenTimelineIO/otio-svg-adapter/issues"

[project.entry-points."opentimelineio.plugins"]
otio_cmx3600_adapter = "otio_svg_adapter"
otio_svg_adapter = "otio_svg_adapter"

[tool.hatch.build.targets.sdist]
# Ensure the sdist includes a setup.py for older pip versions
Expand Down

0 comments on commit e966695

Please sign in to comment.