File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44Write-Host " --- Installing Python runtime ---" - ForegroundColor blue
55Start-Process - FilePath .\python-install.exe - ArgumentList " /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 Include_launcher=0" - NoNewWindow - Wait
6- # update pip and pipe output to stdout to avoid parallel execution
7- python.exe - m pip install -- upgrade pip | Out-Default
8- Write-Host " --- Python runtime installed ---`n " - ForegroundColor green
96
107# Update Path variable with installed Python
118$env: Path = [System.Environment ]::GetEnvironmentVariable(" Path" , " Machine" ) + " ;" + [System.Environment ]::GetEnvironmentVariable(" Path" , " User" )
129
10+ # update pip and pipe output to stdout to avoid parallel execution
11+ python.exe - m pip install -- upgrade pip | Out-Default
12+ Write-Host " --- Python runtime installed ---`n " - ForegroundColor green
13+
1314Write-Host " --- Installing Patroni packages ---" - ForegroundColor blue
1415Set-Location ' patroni'
1516pip3.exe install -- no- index -- find-links .patroni- packages - r requirements.txt
You can’t perform that action at this time.
0 commit comments