From e9666954d607998b4d0e232feb6b67f4c8baa17c Mon Sep 17 00:00:00 2001 From: Daniel Flehner Heen Date: Thu, 16 Feb 2023 18:00:07 +0100 Subject: [PATCH] Fix leftovers from transfer to own repo (#4) * Rename variable to match folder name * Use new build Signed-off-by: apetrynet --- .github/workflows/deploy_package.yaml | 5 ++--- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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 151cc6f..ac65f86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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