From ed82c3d920ad04ed1363fc8c4b1532fc2f37b527 Mon Sep 17 00:00:00 2001 From: Alex Turner Date: Mon, 7 Oct 2024 17:17:53 -0700 Subject: [PATCH] Add python source build --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 758c361..c888245 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,10 +104,9 @@ jobs: # Build the wheel package with or without nogil suffix. - name: Build run: | + $LOCAL_PYTHON -P setup.py bdist_wheel if [ "${{ matrix.build-from-source }}" = "true" ]; then - $LOCAL_PYTHON -P setup.py bdist_wheel --wheel-suffix=_nogil - else - $LOCAL_PYTHON -P setup.py bdist_wheel + mv dist/*.whl dist/*_nogil.whl fi shell: bash