From: Mike Taves Date: Thu, 16 Dec 2021 03:35:01 +0000 (+1300) Subject: Use 'python -m build' to build wheel and source distributions (#2701) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/61fe8418cc868723759fb08d76adab1542bb7630?ds=sidebyside Use 'python -m build' to build wheel and source distributions (#2701) --- 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: