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 @@ -1013,16 +1013,6 @@ function Get-Dependencies {
10131013 Expand-ZipFile " $FileName .zip" " $BinaryCache " " $FileName "
10141014 Write-Output " $ArchName Python $PythonVersion installed."
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 () {
You can’t perform that action at this time.
0 commit comments