File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- @ ECHO on
1+ @ ECHO off
2+
3+ SET PYTHON = %LOCALAPPDATA% \Programs\Python\Python38\python.exe
4+ SET PIP = %LOCALAPPDATA% \Programs\Python\Python38\Scripts\pip3.exe
25
36@ ECHO --- Installing Python runtime ---
4- python-install.exe /quiet InstallAllUsers=0 PrependPath=1 Include_test=0
7+ python-install.exe /quiet InstallAllUsers=0 PrependPath=1 Include_test=0 Include_launcher= 0
58@ ECHO --- Python runtime installed ---
69
710@ ECHO --- Installing Patroni packages ---
8- python -m pip install --upgrade pip
11+ %PYTHON% -m pip install --upgrade pip
912CD patroni
10- pip install --no-index --find-links .patroni-packages -r requirements.txt
11- pip install --no-index --find-links .patroni-packages psycopg2-binary
13+ %PIP% install --no-index --find-links .patroni-packages -r requirements.txt
14+ %PIP% install --no-index --find-links .patroni-packages psycopg2-binary
1215@ ECHO --- Patroni packages installed ---
16+
17+ @ PAUSE
You can’t perform that action at this time.
0 commit comments