Skip to content

Commit 721f2cd

Browse files
committed
Fix setup_pip.ps1 for PyPy
1 parent 1d3b8d7 commit 721f2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup_pip.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $Version = $env:PYTHON_VERSION
22
$PythonPath = $env:SETUP_PYTHON_PATH
33
$Semver = $Version.Split('.')
44
Write-Output "Setting up pip for python $Version in path $PythonPath"
5-
if ([int]$Semver[0] -eq 3 -and [int]$Semver[1] -lt 5) {
5+
if (!($Semver[0] -like 'pypy*') -and ([int]$Semver[0] -eq 3 -and [int]$Semver[1] -lt 5)) {
66
if ([int]$Semver[1] -gt 2) {
77
Write-Output "Using get_pip.py..."
88
$VersionNumber = $Semver[0]

0 commit comments

Comments
 (0)