Skip to content

Commit 7371c10

Browse files
committed
Fixed deploypypi.yml to work with pyproject.toml
1 parent ed78926 commit 7371c10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploypypi.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
pytest
3131
- name: Install deploy dependencies
3232
run: |
33-
pip install setuptools wheel twine
33+
pip install setuptools wheel twine build
3434
- name: Build and publish
3535
env:
3636
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3737
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3838
run: |
39-
python setup.py sdist bdist_wheel
39+
python -m build
4040
twine upload dist/*

0 commit comments

Comments
 (0)