mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Merge the Python 2 & 3 requirements files, and break out test requirements into a separate file.
This commit is contained in:
@@ -199,10 +199,6 @@ GOTO:EOF
|
||||
|
||||
IF NOT EXIST "%PYTHON_HOME%\Scripts\virtualenv.exe" GOTO err_handle_pythonvirtualenv
|
||||
|
||||
SET REQUIRMENTTXT=""
|
||||
IF "%PYTHON_MAJOR%"=="2" SET REQUIRMENTTXT=requirements_py2.txt
|
||||
IF "%PYTHON_MAJOR%"=="3" SET REQUIRMENTTXT=requirements_py3.txt
|
||||
IF %REQUIRMENTTXT% == "" GOTO err_handle_pythonversion
|
||||
SET PATH=%PGDIR%;%PGDIR%\bin;%PATH%
|
||||
goto:EXIT
|
||||
|
||||
@@ -220,7 +216,7 @@ goto:EXIT
|
||||
SET PATH=%PGDIR%\bin;%PATH%
|
||||
|
||||
ECHO Installing dependencies...
|
||||
pip install -r "%WD%\%REQUIRMENTTXT%"
|
||||
pip install -r "%WD%\requirements.txt"
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
pip install sphinx
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
|
||||
Reference in New Issue
Block a user