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:
26
26
# Install build and packaging dependencies.
27
27
# setuptools-scm is necessary for ensuring all files from VCS (such as
28
28
# 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
31
30
- name : Build and publish
32
31
env :
33
32
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
34
33
TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
35
34
run : |
36
- python setup.py sdist bdist_wheel
35
+ python -m build
37
36
twine upload dist/*
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ documentation = "https://setuptools-rust.readthedocs.io"
47
47
changelog = " https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md"
48
48
49
49
[build-system ]
50
- requires = [" setuptools>=62.4" ]
50
+ requires = [" setuptools>=62.4" , " setuptools_scm " ]
51
51
build-backend = " setuptools.build_meta"
52
52
53
53
[tool .isort ]
You can’t perform that action at this time.
0 commit comments