From b4b02982d626eea1b89ae3df2f5141ea98d61a38 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Fri, 14 Feb 2025 10:15:12 +0000 Subject: [PATCH] build and publish wheel (#5088) --- .github/workflows/deployment.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 8517d7bd..0d1a63e4 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -24,7 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox wheel + pip install tox build - name: Deployment Tests env: @@ -34,9 +34,8 @@ jobs: run: | tox -e testcore - - name: Build Python source tarball - # run: python setup.py sdist bdist_wheel - run: python setup.py sdist + - name: Build Python distributions + run: python -m build - name: Publish package to PyPI if: ${{ github.ref == 'refs/heads/master' }}