File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ jobs:
209209 TWINE_USERNAME : ${{ secrets.pypi_username }}
210210 TWINE_PASSWORD : ${{ secrets.pypi_password }}
211211 run : |
212- # setup.py sdist was run by 'make stubs'
212+ # python -m build was run by 'make stubs'
213213 [ -z "$TWINE_USERNAME" ] || echo "Uploading dev release to PyPi"
214214 [ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
215215
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ stubs:
266266 @cp setup.py-stubs circuitpython-stubs/setup.py
267267 @cp README.rst-stubs circuitpython-stubs/README.rst
268268 @cp MANIFEST.in-stubs circuitpython-stubs/MANIFEST.in
269- @ (cd circuitpython-stubs && $( PYTHON) setup.py -q sdist)
269+ @$(PYTHON ) -m build circuitpython-stubs
270270
271271.PHONY : check-stubs
272272check-stubs : stubs
Original file line number Diff line number Diff line change 33black
44isort
55twine
6+ build
67wheel
78astroid
89setuptools>=45
Original file line number Diff line number Diff line change 22rm -rf test-stubs
33python3 -m venv test-stubs
44. 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
66rm -rf circuitpython-stubs .mypy_cache
77make stubs
88pip install --force-reinstall circuitpython-stubs/dist/circuitpython-stubs-* .tar.gz
You can’t perform that action at this time.
0 commit comments