From 46e598cded3e1fad5af2b29741035f56cd8d1bb2 Mon Sep 17 00:00:00 2001 From: Salad Dais Date: Mon, 26 May 2025 19:15:33 +0000 Subject: [PATCH] Don't use setup.py for bundling --- .github/workflows/pypi_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 4ce3cb9..d4172a0 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -27,11 +27,11 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade pip setuptools wheel build if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build run: >- - python setup.py sdist bdist_wheel + python -m build # We do this, since failures on test.pypi aren't that bad - name: Publish to Test PyPI if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'