From 7559ebdb8fa3224130c6719b988ddd8a7db731c9 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Mon, 25 Oct 2021 10:12:39 +0200 Subject: [PATCH] use build to build packages This removes the last requirement on using direct calls to setup.py --- .github/workflows/upload_to_pypi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload_to_pypi.yaml b/.github/workflows/upload_to_pypi.yaml index df3f2b31c98..d3756764800 100644 --- a/.github/workflows/upload_to_pypi.yaml +++ b/.github/workflows/upload_to_pypi.yaml @@ -17,10 +17,10 @@ jobs: with: python-version: '3.7' - name: Install build deps - run: pip install --upgrade pip setuptools wheel + run: pip install --upgrade pip setuptools wheel build - name: Build run: | - python setup.py sdist bdist_wheel + python -m build - name: Install Twine run: pip install twine - name: Publish