File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments