Skip to content

Commit

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

Signed-off-by: apetrynet <[email protected]>
  • Loading branch information
apetrynet authored Feb 16, 2023
1 parent 3ef64bf commit 14e1e66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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/*
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ Homepage = "https://github.com/OpenTimelineIO/otio-fcpx-xml-adapter"
Tracker = "https://github.com/OpenTimelineIO/otio-fcpx-xml-adapter/issues"

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

[tool.hatch.build.targets.sdist]
# Ensure the sdist includes a setup.py for older pip versions
support-legacy = true
exclude = [".github"]
exclude = [".github"]

0 comments on commit 14e1e66

Please sign in to comment.