Merge pull request #7 from radarhere/numpy

Do not install NumPy on Windows x86
This commit is contained in:
Russell Keith-Magee 2025-06-29 03:32:00 +08:00 committed by GitHub
commit 7c8919014a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -15,9 +15,6 @@ if (Test-Path $venv\Scripts\pypy.exe) {
$python = "python.exe" $python = "python.exe"
} }
& reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" /v "GlobalFlag" /t REG_SZ /d "0x02000000" /f & reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" /v "GlobalFlag" /t REG_SZ /d "0x02000000" /f
if ("$venv" -like "*\cibw-run-*-win_amd64\*") {
& $venv\Scripts\$python -m pip install numpy
}
cd $pillow cd $pillow
& $venv\Scripts\$python -VV & $venv\Scripts\$python -VV
if (!$?) { exit $LASTEXITCODE } if (!$?) { exit $LASTEXITCODE }

View File

@ -148,6 +148,10 @@ environment.PATH = "$(pwd)/build/deps/iphoneos/bin:$PATH"
select = "*_iphonesimulator" select = "*_iphonesimulator"
environment.PATH = "$(pwd)/build/deps/iphonesimulator/bin:$PATH" environment.PATH = "$(pwd)/build/deps/iphonesimulator/bin:$PATH"
[[tool.cibuildwheel.overrides]]
select = "*-win32"
test-requires = [ ]
[tool.black] [tool.black]
exclude = "wheels/multibuild" exclude = "wheels/multibuild"