From dd6f71d7971dcc3c22662e1d0af41d5823977d80 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Sat, 26 Oct 2024 00:53:48 +0900 Subject: [PATCH] Use python -m build for wheel and sdist --- .github/workflows/make-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index cb7bbcb1..3dadadb3 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -21,9 +21,10 @@ jobs: - name: Install Dependencies run: | python -m pip install --upgrade pip + python -m pip install build python -m pip install -e . # need full install so we can build type stubs - name: Build Distribution - run: python setup.py sdist bdist_wheel + run: python -m build - name: Publish PyPI Package uses: pypa/gh-action-pypi-publish@release/v1 with: