Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'python -m build' to build wheel and source distributions #2701

Merged
merged 1 commit into from
Dec 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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