File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ jobs:
209
209
TWINE_USERNAME : ${{ secrets.pypi_username }}
210
210
TWINE_PASSWORD : ${{ secrets.pypi_password }}
211
211
run : |
212
- # setup.py sdist was run by 'make stubs'
212
+ # python -m build was run by 'make stubs'
213
213
[ -z "$TWINE_USERNAME" ] || echo "Uploading dev release to PyPi"
214
214
[ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
215
215
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ stubs:
266
266
@cp setup.py-stubs circuitpython-stubs/setup.py
267
267
@cp README.rst-stubs circuitpython-stubs/README.rst
268
268
@cp MANIFEST.in-stubs circuitpython-stubs/MANIFEST.in
269
- @ (cd circuitpython-stubs && $( PYTHON) setup.py -q sdist)
269
+ @$(PYTHON ) -m build circuitpython-stubs
270
270
271
271
.PHONY : check-stubs
272
272
check-stubs : stubs
Original file line number Diff line number Diff line change 3
3
black
4
4
isort
5
5
twine
6
+ build
6
7
wheel
7
8
astroid
8
9
setuptools>=45
Original file line number Diff line number Diff line change 2
2
rm -rf test-stubs
3
3
python3 -m venv test-stubs
4
4
. test-stubs/bin/activate
5
- pip install mypy isort black adafruit-circuitpython-typing wheel
5
+ pip install mypy isort black adafruit-circuitpython-typing wheel build
6
6
rm -rf circuitpython-stubs .mypy_cache
7
7
make stubs
8
8
pip install --force-reinstall circuitpython-stubs/dist/circuitpython-stubs-* .tar.gz
You can’t perform that action at this time.
0 commit comments