Skip to content

Commit d42d1b0

Browse files
committed
update deployment workflow to use 'python -m build'
1 parent 92a051c commit d42d1b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deployment-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
19+
pip install build twine
2020
- name: Build and publish
2121
env:
2222
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2323
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2424
run: |
25-
python setup.py sdist bdist_wheel
25+
python -m build
2626
twine upload dist/*

0 commit comments

Comments
 (0)