From 77627f37f9dc8cf34605322e1fe67929143081e0 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Tue, 18 Nov 2025 23:47:28 +0100 Subject: [PATCH] [windows] remove pip installation --- utils/build.ps1 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index 9cf1b37708ba1..7cbd28ca2f9ac 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -1298,16 +1298,6 @@ function Get-Dependencies { Expand-ZipFile "$FileName.zip" "$BinaryCache" "$FileName" Write-Success "$ArchName Python $PythonVersion" } - if (-not $EmbeddedPython) { - return - } - $PythonPTHPath = "$BinaryCache/$FileName/$(Get-PythonLibName)._pth" - $PythonPTHContent = [System.IO.File]::ReadAllText($PythonPTHPath).Replace("#import site","import site") - [System.IO.File]::WriteAllText($PythonPTHPath, $PythonPTHContent) - $GetPipURL = "https://bootstrap.pypa.io/get-pip.py" - $GetPipPath = "$BinaryCache/$FileName/get-pip.py" - $WebClient.DownloadFile($GetPipURL, $GetPipPath) - Invoke-Program -Silent "$(Get-PythonExecutable)" $GetPipPath } function Install-PIPIfNeeded {