Skip to content

Commit e0f50c8

Browse files
authored
Merge pull request #85575 from charles-zablit/charles-zablit/windows/fix-arm64-build-python
[windows] remove pip installation
2 parents 4432378 + 77627f3 commit e0f50c8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

utils/build.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,16 +1298,6 @@ function Get-Dependencies {
12981298
Expand-ZipFile "$FileName.zip" "$BinaryCache" "$FileName"
12991299
Write-Success "$ArchName Python $PythonVersion"
13001300
}
1301-
if (-not $EmbeddedPython) {
1302-
return
1303-
}
1304-
$PythonPTHPath = "$BinaryCache/$FileName/$(Get-PythonLibName)._pth"
1305-
$PythonPTHContent = [System.IO.File]::ReadAllText($PythonPTHPath).Replace("#import site","import site")
1306-
[System.IO.File]::WriteAllText($PythonPTHPath, $PythonPTHContent)
1307-
$GetPipURL = "https://bootstrap.pypa.io/get-pip.py"
1308-
$GetPipPath = "$BinaryCache/$FileName/get-pip.py"
1309-
$WebClient.DownloadFile($GetPipURL, $GetPipPath)
1310-
Invoke-Program -Silent "$(Get-PythonExecutable)" $GetPipPath
13111301
}
13121302

13131303
function Install-PIPIfNeeded {

0 commit comments

Comments
 (0)