From f2a4ee00716801edc5b302c90599cc2b27fc118c Mon Sep 17 00:00:00 2001 From: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Date: Wed, 10 Jun 2026 12:35:46 -0400 Subject: [PATCH] fix pypi build step --- .github/workflows/publish-to-pypi.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 8d00f198..14d86d2c 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -19,13 +19,9 @@ jobs: uses: actions/setup-python@v6 with: python-version: "3.x" - - name: Install wheel - run: python -m pip install --user --upgrade wheel - - name: Install twine - run: python -m pip install --user --upgrade twine - - name: Install setuptools - run: python -m pip install --user --upgrade setuptools + - name: Install build tooling + run: python -m pip install --user --upgrade build twine - name: Build a binary wheel and a source tarball - run: python setup.py sdist bdist_wheel + run: python -m build --sdist --wheel --outdir dist/ - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1