Skip to content

Commit

Permalink
[-] fix pip offline packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Sep 30, 2024
1 parent 2d165f5 commit 25ad71e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion make.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function Get-PatroniPackages {
Write-Host "`n--- Download PATRONI packages ---" -ForegroundColor blue
Set-Location "$MD\patroni"
& $PIP download -r requirements.txt -d .patroni-packages
& $PIP download psycopg2-binary -d .patroni-packages
& $PIP download pip pip_install setuptools wheel cdiff psycopg2-binary -d .patroni-packages
Set-Location -Path "..\.."
Write-Host "`n--- PATRONI packages downloaded ---" -ForegroundColor green
}
Expand Down
1 change: 1 addition & 0 deletions src/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Write-Host "--- Python runtime installed ---`n" -ForegroundColor green
Write-Host "--- Installing Patroni packages ---" -ForegroundColor blue
pip3.exe install --no-index --find-links .patroni-packages -r requirements.txt
pip3.exe install --no-index --find-links .patroni-packages psycopg2-binary
pip3.exe install --no-index --find-links .patroni-packages cdiff
Set-Location '..'
Write-Host "--- Patroni packages installed ---`n" -ForegroundColor green

Expand Down

0 comments on commit 25ad71e

Please sign in to comment.