Skip to content

Commit cbab31a

Browse files
committed
pyproject.toml: Move settings of CIBW_ENVIRONMENT variable PYTHON_FLINT_MINGW64 here
1 parent 2db484d commit cbab31a

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

.github/workflows/buildwheel.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
C_INCLUDE_PATH=$(pwd)/.local/include/
4848
LIBRARY_PATH=$(pwd)/.local/lib/
4949
LD_LIBRARY_PATH=$(pwd)/.local/lib:$LD_LIBRARY_PATH
50-
PYTHON_FLINT_MINGW64=true
5150
5251
- uses: actions/upload-artifact@v4
5352
with:

bin/cibw.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ set CIBW_BUILD=cp39-* cp310-* cp311-*
2525
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
28-
set CIBW_ENVIRONMENT=PYTHON_FLINT_MINGW64=true
2928

3029
cibuildwheel --platform windows

bin/cibw.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
rm -f wheelhouse/*
1010

1111
# bin/build_dependencies_unix.sh places headers and shared libraries under .local
12-
export CIBW_ENVIRONMENT='C_INCLUDE_PATH=$(pwd)/.local/include/ LIBRARY_PATH=$(pwd)/.local/lib/ LD_LIBRARY_PATH=$(pwd)/.local/lib:$LD_LIBRARY_PATH PYTHON_FLINT_MINGW64=true'
12+
export CIBW_ENVIRONMENT='C_INCLUDE_PATH=$(pwd)/.local/include/ LIBRARY_PATH=$(pwd)/.local/lib/ LD_LIBRARY_PATH=$(pwd)/.local/lib:$LD_LIBRARY_PATH'
1313

1414
export CIBW_BUILD='cp39-* cp310-* cp311-* cp312-*'
1515
# export CIBW_BUILD='cp311-*'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ test-command = "python -c 'import flint; print(str(flint.fmpz(2)))'"
2929
[tool.cibuildwheel.macos]
3030

3131
[tool.cibuildwheel.windows]
32+
environment = { PYTHON_FLINT_MINGW64="true" }
3233
repair-wheel-command = "bin\\cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}"

0 commit comments

Comments
 (0)