File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 3636 env :
3737 CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
3838 CIBW_MANYLINUX_I686_IMAGE : manylinux2014
39+ # override setting in pyproject.toml to use msys2 instead of msys64 bash
3940 CIBW_BEFORE_ALL_WINDOWS : msys2 -c bin/cibw_before_all_windows.sh
4041 CIBW_BEFORE_BUILD_WINDOWS : pip install delvewheel && msys2 -c bin/cibw_before_build_windows.sh
4142
Original file line number Diff line number Diff line change @@ -24,7 +24,4 @@ del /q wheelhouse\*
2424rem override setting in pyproject.toml
2525set CIBW_BUILD = cp39-* cp310-* cp311-*
2626
27- set CIBW_BEFORE_ALL_WINDOWS = C:\msys64\usr\bin\bash bin/cibw_before_all_windows.sh
28- set CIBW_BEFORE_BUILD_WINDOWS = C:\msys64\usr\bin\bash bin/cibw_before_build_windows.sh
29-
3027cibuildwheel --platform windows
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ rm -f wheelhouse/*
1111# export CIBW_ARCHS_MACOS="x86_64"
1212export CIBW_ARCHS_MACOS=" arm64"
1313
14- export CIBW_BEFORE_ALL_WINDOWS=' C:\\msys64\\usr\\bin\\bash bin/cibw_before_all_windows.sh'
15-
16- export CIBW_BEFORE_BUILD_WINDOWS=' pip install delvewheel && C:\\msys64\\usr\\bin\\bash bin/cibw_before_build_windows.sh'
17-
1814export CIBW_TEST_COMMAND=" python -m flint.test" # override setting in pyproject.toml
1915
2016# cibuildwheel --platform linux
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ before-all = "bin/cibw_before_all_linux.sh"
3939before-all = " bin/cibw_before_all_macosx_$(uname -m).sh"
4040
4141[tool .cibuildwheel .windows ]
42+ before-all = " C:\\ msys64\\ usr\\ bin\\ bash bin/cibw_before_all_windows.sh"
43+ before-build = " pip install delvewheel && C:\\ msys64\\ usr\\ bin\\ bash bin/cibw_before_build_windows.sh"
4244repair-wheel-command = " bin\\ cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}"
4345
4446[tool .cibuildwheel .windows .environment ]
You can’t perform that action at this time.
0 commit comments