Use 'python -m build' to build wheel and source distributions (#2701)
This commit is contained in:
parent
dc90d4951f
commit
61fe8418cc
10
.github/workflows/pypi_upload.yml
vendored
10
.github/workflows/pypi_upload.yml
vendored
@ -15,14 +15,14 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
||||||
- name: Install latest pip, setuptools, twine + wheel
|
- name: Install latest pip, build, twine
|
||||||
run: |
|
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: |
|
run: |
|
||||||
python setup.py bdist_wheel
|
python -m build
|
||||||
python setup.py sdist
|
|
||||||
|
|
||||||
- name: Upload to PyPI via Twine
|
- name: Upload to PyPI via Twine
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user