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