Skip to content

Commit c3b3749

Browse files
authored
Merge pull request #3507 from jenshnielsen/use_build_to_build_dists
use build to build packages
2 parents fd32ba4 + 45670e3 commit c3b3749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/upload_to_pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
with:
1818
python-version: '3.7'
1919
- name: Install build deps
20-
run: pip install --upgrade pip setuptools wheel
20+
run: pip install --upgrade pip setuptools wheel build
2121
- name: Build
2222
run: |
23-
python setup.py sdist bdist_wheel
23+
python -m build
2424
- name: Install Twine
2525
run: pip install twine
2626
- name: Publish

0 commit comments

Comments
 (0)