Skip to content

Commit 8f14c05

Browse files
committed
pyproject.toml: Move settings of CIBW_BUILD here
1 parent f0b60cc commit 8f14c05

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/buildwheel.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
- name: Build wheels
3535
uses: pypa/cibuildwheel@v2.16.5
3636
env:
37-
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-*
3837
CIBW_SKIP: "*-win32 *-manylinux_i686 *-musllinux_*"
3938
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
4039
CIBW_MANYLINUX_I686_IMAGE: manylinux2014

bin/cibw.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ rem wheels from a previous run so we delete them here.
2121
rem
2222
del /q wheelhouse\*
2323

24+
rem override setting in pyproject.toml
2425
set CIBW_BUILD=cp39-* cp310-* cp311-*
26+
2527
set CIBW_SKIP=*-win32 *-manylinux_i686 *-musllinux_*
2628
set CIBW_BEFORE_ALL_WINDOWS=C:\msys64\usr\bin\bash bin/cibw_before_all_windows.sh
2729
set CIBW_BEFORE_BUILD_WINDOWS=C:\msys64\usr\bin\bash bin/cibw_before_build_windows.sh

bin/cibw.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
rm -f wheelhouse/*
1010

11-
export CIBW_BUILD='cp39-* cp310-* cp311-* cp312-*'
12-
# export CIBW_BUILD='cp311-*'
1311
export CIBW_SKIP='*-win32 *-manylinux_i686 *-musllinux_*'
1412

1513
# export CIBW_ARCHS_MACOS="x86_64"

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ file = "README.md"
2222
content-type = "text/markdown"
2323

2424
[tool.cibuildwheel]
25+
build = "cp39-* cp310-* cp311-* cp312-*"
2526
test-command = "python -c \"import flint; print(str(flint.fmpz(2)))\""
2627

2728
[tool.cibuildwheel.environment]

0 commit comments

Comments
 (0)