Skip to content

Commit 4052c58

Browse files
committed
fix the way packages are built in the public workflow
1 parent 8d01e81 commit 4052c58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install setuptools wheel twine pbr
27+
pip install .[build]
2828
- name: Build sdist and wheel
2929
run: |
30-
python setup.py sdist bdist_wheel
30+
python -m build
3131
- name: Publish distribution to PyPI
3232
# This condition prevents PRs from being published as part of
3333
# the test job.

0 commit comments

Comments
 (0)