File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,16 +9,21 @@ if ("$venv" -like "*\cibw-run-*\pp*-win_amd64\*") {
99 C:\vc_redist.x64.exe / install / quiet / norestart | Out-Null
1010}
1111$env: path += " ;$pillow \winbuild\build\bin\"
12+ if (Test-Path $venv \Scripts\pypy.exe ) {
13+ $python = " pypy.exe"
14+ } else {
15+ $python = " python.exe"
16+ }
1217& reg add " HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" / v " GlobalFlag" / t REG_SZ / d " 0x02000000" / f
1318if (" $venv " -like " *\cibw-run-*-win_amd64\*" ) {
14- & $venv \Scripts\python.exe - m pip install numpy
19+ & $venv \Scripts\$ python - m pip install numpy
1520}
1621cd $pillow
17- & $venv \Scripts\python.exe - VV
22+ & $venv \Scripts\$ python - VV
1823if (! $? ) { exit $LASTEXITCODE }
19- & $venv \Scripts\python.exe selftest.py
24+ & $venv \Scripts\$ python selftest.py
2025if (! $? ) { exit $LASTEXITCODE }
21- & $venv \Scripts\python.exe - m pytest - vx Tests\check_wheel.py
26+ & $venv \Scripts\$ python - m pytest - vx Tests\check_wheel.py
2227if (! $? ) { exit $LASTEXITCODE }
23- & $venv \Scripts\python.exe - m pytest - vx Tests
28+ & $venv \Scripts\$ python - m pytest - vx Tests
2429if (! $? ) { exit $LASTEXITCODE }
You can’t perform that action at this time.
0 commit comments