mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -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%"
|
||||
|
||||
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%\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
|
||||
|
||||
5) Upgrade pip (this may give a permissions error that can be ignored) and
|
||||
install the virtualenv package:
|
||||
5) Upgrade pip (this may give a permissions error that can be ignored):
|
||||
|
||||
pip install --upgrade pip
|
||||
pip install virtualenv
|
||||
|
||||
Building dependencies
|
||||
=====================
|
||||
@ -115,7 +113,7 @@ yarn run bundle
|
||||
3) Create a virtual env
|
||||
|
||||
cd pgadmin4
|
||||
python -m venv
|
||||
python -m venv venv
|
||||
pip install -r web\regression\requirements.txt
|
||||
pip install sphinx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user