Updated how stubs are built
This commit is contained in:
parent
7e734df892
commit
6f8670a284
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -209,7 +209,7 @@ jobs:
|
||||
TWINE_USERNAME: ${{ secrets.pypi_username }}
|
||||
TWINE_PASSWORD: ${{ secrets.pypi_password }}
|
||||
run: |
|
||||
# setup.py sdist was run by 'make stubs'
|
||||
# python -m build was run by 'make stubs'
|
||||
[ -z "$TWINE_USERNAME" ] || echo "Uploading dev release to PyPi"
|
||||
[ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -266,7 +266,7 @@ stubs:
|
||||
@cp setup.py-stubs circuitpython-stubs/setup.py
|
||||
@cp README.rst-stubs circuitpython-stubs/README.rst
|
||||
@cp MANIFEST.in-stubs circuitpython-stubs/MANIFEST.in
|
||||
@(cd circuitpython-stubs && $(PYTHON) setup.py -q sdist)
|
||||
@$(PYTHON) -m build circuitpython-stubs
|
||||
|
||||
.PHONY: check-stubs
|
||||
check-stubs: stubs
|
||||
|
@ -3,6 +3,7 @@ mypy
|
||||
black
|
||||
isort
|
||||
twine
|
||||
build
|
||||
wheel
|
||||
astroid
|
||||
setuptools>=45
|
||||
|
Loading…
x
Reference in New Issue
Block a user