Skip to content

Commit 2db484d

Browse files
committed
pyproject.toml: Move settings of CIBW_TEST_COMMAND here
1 parent d0520ba commit 2db484d

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/buildwheel.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ jobs:
4848
LIBRARY_PATH=$(pwd)/.local/lib/
4949
LD_LIBRARY_PATH=$(pwd)/.local/lib:$LD_LIBRARY_PATH
5050
PYTHON_FLINT_MINGW64=true
51-
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >-
52-
bin\cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}
5351
5452
- uses: actions/upload-artifact@v4
5553
with:

bin/cibw.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ set CIBW_SKIP=*-win32 *-manylinux_i686 *-musllinux_*
2626
set CIBW_BEFORE_ALL_WINDOWS=C:\msys64\usr\bin\bash bin/cibw_before_all_windows.sh
2727
set CIBW_BEFORE_BUILD_WINDOWS=C:\msys64\usr\bin\bash bin/cibw_before_build_windows.sh
2828
set CIBW_ENVIRONMENT=PYTHON_FLINT_MINGW64=true
29-
set CIBW_REPAIR_WHEEL_COMMAND_WINDOWS=bin\cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}
3029

3130
cibuildwheel --platform windows

bin/cibw.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export CIBW_BEFORE_ALL_WINDOWS='C:\\msys64\\usr\\bin\\bash bin/cibw_before_all_w
2626
export CIBW_BEFORE_BUILD='pip install numpy cython delvewheel'
2727
export CIBW_BEFORE_BUILD_WINDOWS='C:\\msys64\\usr\\bin\\bash bin/cibw_before_build_windows.sh'
2828

29-
export CIBW_REPAIR_WHEEL_COMMAND_WINDOWS='bin\cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}'
30-
3129
export CIBW_TEST_COMMAND="python -m flint.test" # override setting in pyproject.toml
3230

3331
# cibuildwheel --platform linux

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ content-type = "text/markdown"
2323

2424
[tool.cibuildwheel]
2525
test-command = "python -c 'import flint; print(str(flint.fmpz(2)))'"
26+
27+
[tool.cibuildwheel.linux]
28+
29+
[tool.cibuildwheel.macos]
30+
31+
[tool.cibuildwheel.windows]
32+
repair-wheel-command = "bin\\cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}"

0 commit comments

Comments
 (0)