From f02461380050d03fece877128e849a0369eced71 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 29 Oct 2023 16:02:10 +0100 Subject: [PATCH] Prevent fallback to setup.py when building package --- .github/workflows/publish-to-pypi.yml | 3 +++ .github/workflows/publish-to-test-pypi.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index fb75642..3747e30 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -29,6 +29,9 @@ jobs: build setuptools twine --user + - name: Prevent fallback onto setup.py + run: rm setup.py + - name: Build a binary wheel and a source tarball run: python3 -m build diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 8cc98fb..8b8d003 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -29,6 +29,9 @@ jobs: build setuptools twine --user + - name: Prevent fallback onto setup.py + run: rm setup.py + - name: Build a binary wheel and a source tarball run: python3 -m build