mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't use virtualenv to create the venv on Windows.
This commit is contained in:
parent
f4750f0096
commit
67c978b7a4
2
Make.bat
2
Make.bat
@ -169,7 +169,7 @@ REM Main build sequence Ends
|
|||||||
IF NOT EXIST "%BUILDROOT%" MKDIR "%BUILDROOT%"
|
IF NOT EXIST "%BUILDROOT%" MKDIR "%BUILDROOT%"
|
||||||
|
|
||||||
CD "%BUILDROOT%"
|
CD "%BUILDROOT%"
|
||||||
"%PGADMIN_PYTHON_DIR%\Scripts\virtualenv.exe" venv
|
"%PGADMIN_PYTHON_DIR%\python.exe" -m venv venv
|
||||||
|
|
||||||
XCOPY /S /I /E /H /Y "%PGADMIN_PYTHON_DIR%\DLLs" "%BUILDROOT%\venv\DLLs" > nul || EXIT /B 1
|
XCOPY /S /I /E /H /Y "%PGADMIN_PYTHON_DIR%\DLLs" "%BUILDROOT%\venv\DLLs" > nul || EXIT /B 1
|
||||||
XCOPY /S /I /E /H /Y "%PGADMIN_PYTHON_DIR%\Lib" "%BUILDROOT%\venv\Lib" > nul || EXIT /B 1
|
XCOPY /S /I /E /H /Y "%PGADMIN_PYTHON_DIR%\Lib" "%BUILDROOT%\venv\Lib" > nul || EXIT /B 1
|
||||||
|
@ -19,11 +19,9 @@ Choose the Desktop development with C++ option.
|
|||||||
|
|
||||||
choco install -y bzip2 cmake diffutils gzip git innosetup nodejs-lts python strawberryperl wget yarn
|
choco install -y bzip2 cmake diffutils gzip git innosetup nodejs-lts python strawberryperl wget yarn
|
||||||
|
|
||||||
5) Upgrade pip (this may give a permissions error that can be ignored) and
|
5) Upgrade pip (this may give a permissions error that can be ignored):
|
||||||
install the virtualenv package:
|
|
||||||
|
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install virtualenv
|
|
||||||
|
|
||||||
Building dependencies
|
Building dependencies
|
||||||
=====================
|
=====================
|
||||||
@ -115,7 +113,7 @@ yarn run bundle
|
|||||||
3) Create a virtual env
|
3) Create a virtual env
|
||||||
|
|
||||||
cd pgadmin4
|
cd pgadmin4
|
||||||
python -m venv
|
python -m venv venv
|
||||||
pip install -r web\regression\requirements.txt
|
pip install -r web\regression\requirements.txt
|
||||||
pip install sphinx
|
pip install sphinx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user