File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,11 @@ jobs:
2626 # Install build and packaging dependencies.
2727 # setuptools-scm is necessary for ensuring all files from VCS (such as
2828 # examples) are in the sdist.
29- run : |
30- pip install --upgrade pip setuptools wheel twine setuptools-scm
29+ run : pip install -U pip build twine
3130 - name : Build and publish
3231 env :
3332 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
3433 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
3534 run : |
36- python setup.py sdist bdist_wheel
35+ python -m build
3736 twine upload dist/*
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ documentation = "https://setuptools-rust.readthedocs.io"
4747changelog = " https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md"
4848
4949[build-system ]
50- requires = [" setuptools>=62.4" ]
50+ requires = [" setuptools>=62.4" , " setuptools_scm " ]
5151build-backend = " setuptools.build_meta"
5252
5353[tool .isort ]
You can’t perform that action at this time.
0 commit comments