Skip to content

Commit

Permalink
Use 'python -m build' to build wheel and source distributions (#2701)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Dec 16, 2021
1 parent dc90d49 commit 61fe841
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2

- name: Install latest pip, setuptools, twine + wheel
- name: Install latest pip, build, twine
run: |
python -m pip install --upgrade pip setuptools twine wheel
python -m pip install --upgrade --disable-pip-version-check pip
python -m pip install --upgrade build twine
- name: Build wheels
- name: Build wheel and source distributions
run: |
python setup.py bdist_wheel
python setup.py sdist
python -m build
- name: Upload to PyPI via Twine
env:
Expand Down

0 comments on commit 61fe841

Please sign in to comment.