Skip to content

Commit 79ae037

Browse files
committed
Replace the setup.py install with build module
1 parent 598a8f1 commit 79ae037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)