File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,21 @@ if ("$venv" -like "*\cibw-run-*\pp*-win_amd64\*") {
9
9
C:\vc_redist.x64.exe / install / quiet / norestart | Out-Null
10
10
}
11
11
$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
+ }
12
17
& reg add " HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" / v " GlobalFlag" / t REG_SZ / d " 0x02000000" / f
13
18
if (" $venv " -like " *\cibw-run-*-win_amd64\*" ) {
14
- & $venv \Scripts\python.exe - m pip install numpy
19
+ & $venv \Scripts\$ python - m pip install numpy
15
20
}
16
21
cd $pillow
17
- & $venv \Scripts\python.exe - VV
22
+ & $venv \Scripts\$ python - VV
18
23
if (! $? ) { exit $LASTEXITCODE }
19
- & $venv \Scripts\python.exe selftest.py
24
+ & $venv \Scripts\$ python selftest.py
20
25
if (! $? ) { 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
22
27
if (! $? ) { exit $LASTEXITCODE }
23
- & $venv \Scripts\python.exe - m pytest - vx Tests
28
+ & $venv \Scripts\$ python - m pytest - vx Tests
24
29
if (! $? ) { exit $LASTEXITCODE }
You can’t perform that action at this time.
0 commit comments