Skip to content

Commit 44ad2ff

Browse files
authored
[-] fix pip offline packages (#86)
1 parent 2d165f5 commit 44ad2ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

make.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function Get-PatroniPackages {
102102
Write-Host "`n--- Download PATRONI packages ---" -ForegroundColor blue
103103
Set-Location "$MD\patroni"
104104
& $PIP download -r requirements.txt -d .patroni-packages
105-
& $PIP download psycopg2-binary -d .patroni-packages
105+
& $PIP download pip pip_install setuptools wheel cdiff psycopg2-binary -d .patroni-packages
106106
Set-Location -Path "..\.."
107107
Write-Host "`n--- PATRONI packages downloaded ---" -ForegroundColor green
108108
}

src/install.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Write-Host "--- Python runtime installed ---`n" -ForegroundColor green
2222
Write-Host "--- Installing Patroni packages ---" -ForegroundColor blue
2323
pip3.exe install --no-index --find-links .patroni-packages -r requirements.txt
2424
pip3.exe install --no-index --find-links .patroni-packages psycopg2-binary
25+
pip3.exe install --no-index --find-links .patroni-packages cdiff
2526
Set-Location '..'
2627
Write-Host "--- Patroni packages installed ---`n" -ForegroundColor green
2728

0 commit comments

Comments
 (0)