Skip to content

Commit

Permalink
CI: switch to python build command for sdist
Browse files Browse the repository at this point in the history
switch from `python setup.py sdist` to `python -m build --sdist`

that's now the formal way to build, and not assume
we have `distutil` installed on that system.
  • Loading branch information
fruch committed Nov 9, 2023
1 parent bf09af1 commit b1c6e6d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ jobs:
name: Install Python

- name: Build sdist
run: python setup.py sdist

run: |
pip install build
python -m build --sdist
- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz
Expand Down

0 comments on commit b1c6e6d

Please sign in to comment.