Skip to content

Commit de78263

Browse files
committed
use python-build
see: pypa/pyproject-hooks#83
1 parent e822640 commit de78263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python -m pip install --upgrade pip
37-
pip install setuptools wheel twine
37+
pip install setuptools build twine
3838
- name: Build and publish
3939
env:
4040
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
4141
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
4242
run: |
43-
python setup.py bdist_wheel
43+
python -m build .
4444
twine upload dist/*

0 commit comments

Comments
 (0)