Do not install NumPy twice

This commit is contained in:
Andrew Murray 2025-06-28 15:58:19 +10:00
parent fdd3cc77e5
commit a8251c5a6a

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 }