Skip to content

Commit d8416df

Browse files
committed
Remove install of Python build prereqs in CIBW_BEFORE_BUILD
1 parent 9f5b381 commit d8416df

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/buildwheel.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ jobs:
3838
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
3939
CIBW_BEFORE_ALL_MACOS: bin/cibw_before_all_macosx_x86_64.sh
4040
CIBW_BEFORE_ALL_WINDOWS: msys2 -c bin/cibw_before_all_windows.sh
41-
CIBW_BEFORE_BUILD_WINDOWS: msys2 -c bin/cibw_before_build_windows.sh
42-
CIBW_BEFORE_BUILD: pip install numpy setuptools cython delvewheel
41+
CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel && msys2 -c bin/cibw_before_build_windows.sh
4342

4443
- uses: actions/upload-artifact@v4
4544
with:

bin/cibw.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export CIBW_ARCHS_MACOS="arm64"
1515
export CIBW_BEFORE_ALL_MACOS=bin/cibw_before_all_macosx_arm64.sh
1616
export CIBW_BEFORE_ALL_WINDOWS='C:\\msys64\\usr\\bin\\bash bin/cibw_before_all_windows.sh'
1717

18-
export CIBW_BEFORE_BUILD='pip install numpy cython delvewheel'
19-
export CIBW_BEFORE_BUILD_WINDOWS='C:\\msys64\\usr\\bin\\bash bin/cibw_before_build_windows.sh'
18+
export CIBW_BEFORE_BUILD_WINDOWS='pip install delvewheel && C:\\msys64\\usr\\bin\\bash bin/cibw_before_build_windows.sh'
2019

2120
export CIBW_TEST_COMMAND="python -m flint.test" # override setting in pyproject.toml
2221

0 commit comments

Comments
 (0)