Skip to content

Commit 146f9c1

Browse files
Update python-publish.yml
Instead of using python setup.py that is outdated, we will use python -m build. Source: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
1 parent c8c12b4 commit 146f9c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2828
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2929
run: |
30-
python setup.py sdist bdist_wheel
31-
twine upload dist/*
30+
python -m build
31+
pip install dist/*.whl

0 commit comments

Comments
 (0)