diff --git a/.github/workflows/deploy_package.yaml b/.github/workflows/deploy_package.yaml index abca17f..7486080 100644 --- a/.github/workflows/deploy_package.yaml +++ b/.github/workflows/deploy_package.yaml @@ -16,8 +16,7 @@ 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__ @@ -25,7 +24,7 @@ jobs: # 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/* diff --git a/pyproject.toml b/pyproject.toml index d433dd5..f8469ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] \ No newline at end of file +exclude = [".github"]