Skip to content

Commit

Permalink
Merge pull request #7581 from hugovk/requirements-cibw
Browse files Browse the repository at this point in the history
Install cibuildwheel from requirements file
  • Loading branch information
radarhere committed Nov 28, 2023
2 parents a1d2297 + 106f3bc commit 697c24b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .ci/requirements-cibw.txt
@@ -0,0 +1 @@
cibuildwheel==2.16.2
10 changes: 7 additions & 3 deletions .github/workflows/wheels.yml
Expand Up @@ -52,10 +52,14 @@ jobs:
with:
submodules: true

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
- uses: actions/setup-python@v4
with:
output-dir: wheelhouse
python-version: "3.x"

- name: Build wheels
run: |
python3 -m pip install -r .ci/requirements-cibw.txt
python3 -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_BUILD: ${{ matrix.build }}
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
- CIBW_BUILD="*musllinux*"

install:
- python3 -m pip install cibuildwheel==2.16.2
- python3 -m pip install -r .ci/requirements-cibw.txt

script:
- python3 -m cibuildwheel --output-dir wheelhouse
Expand Down

0 comments on commit 697c24b

Please sign in to comment.