From 61fe8418cc868723759fb08d76adab1542bb7630 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Thu, 16 Dec 2021 16:35:01 +1300 Subject: [PATCH 1/1] Use 'python -m build' to build wheel and source distributions (#2701) --- .github/workflows/pypi_upload.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index 201d94f..0921b62 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -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: -- 2.39.5