Skip to content

Commit

Permalink
Update GitHub Actions release workflow to install setuptools before b…
Browse files Browse the repository at this point in the history
…uilding wheels

- Modified the CIBW_BEFORE_BUILD environment variable to ensure setuptools is installed prior to executing the build command.
- Simplified the build command by removing the '--with setuptools' option from the uvx command.
  • Loading branch information
darrenburns committed Nov 28, 2024
1 parent bb279da commit e20c914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
platforms: all

- name: Build wheels
run: uvx --with setuptools [email protected] --output-dir dist
run: uvx [email protected] --output-dir dist
env:
CIBW_BEFORE_BUILD: pip install -e . && python build.py
CIBW_BEFORE_BUILD: pip install setuptools && pip install -e . && python build.py
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: python -m pytest --showlocals {package}/tests
CIBW_SKIP: "{cp36-*,cp37-*,pp*}" # Skip Python 3.6 and 3.7, as well as PyPy
Expand Down

0 comments on commit e20c914

Please sign in to comment.