Skip to content

Commit 5cd4723

Browse files
[windows] remove pip installation
1 parent bdea088 commit 5cd4723

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
@@ -1013,16 +1013,6 @@ function Get-Dependencies {
10131013
Expand-ZipFile "$FileName.zip" "$BinaryCache" "$FileName"
10141014
Write-Success "$ArchName Python $PythonVersion"
10151015
}
1016-
if (-not $EmbeddedPython) {
1017-
return
1018-
}
1019-
$PythonPTHPath = "$BinaryCache/$FileName/$(Get-PythonLibName)._pth"
1020-
$PythonPTHContent = [System.IO.File]::ReadAllText($PythonPTHPath).Replace("#import site","import site")
1021-
[System.IO.File]::WriteAllText($PythonPTHPath, $PythonPTHContent)
1022-
$GetPipURL = "https://bootstrap.pypa.io/get-pip.py"
1023-
$GetPipPath = "$BinaryCache/$FileName/get-pip.py"
1024-
$WebClient.DownloadFile($GetPipURL, $GetPipPath)
1025-
& "$BinaryCache/$FileName/python.exe" $GetPipPath
10261016
}
10271017

10281018
function Install-PIPIfNeeded() {

0 commit comments

Comments
 (0)