Skip to content

Commit c1114e6

Browse files
committed
Update PyPi upload script
1 parent 9a97e70 commit c1114e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish_to_pypi.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
19+
python -m pip install build
1920
pip install setuptools wheel twine
2021
- name: Build and publish
2122
env:
2223
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2324
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2425
run: |
25-
python setup.py sdist bdist_wheel
26+
python -m build
2627
twine upload dist/*

0 commit comments

Comments
 (0)