Skip to content

Commit

Permalink
Address deprecation of setup.py direct invocation
Browse files Browse the repository at this point in the history
Fixes: "SetuptoolsDeprecationWarning: setup.py install is deprecated.
Instead, use pypa/build, pypa/installer or other standards-based tools.
See pypa/setuptools#917 for details."
  • Loading branch information
mara004 committed Nov 19, 2023
1 parent d186ef3 commit a7d0c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build --sdist --wheel -o dist/
twine upload dist/*
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build --sdist --wheel -o dist/
twine upload dist/*

0 comments on commit a7d0c56

Please sign in to comment.