diff --git a/prj/script/common.cmd b/prj/script/common.cmd index 84b331e..ce3a3cb 100644 --- a/prj/script/common.cmd +++ b/prj/script/common.cmd @@ -3,5 +3,5 @@ REM define (relative) paths @echo off set script_dir=%~dp0 -set venv_dir=%script_dir%..\venv -set pip_reqs_dir=%script_dir%.. +set venv_dir=%script_dir%\..\venv +set pip_reqs_dir=%script_dir%\..\pip_reqs diff --git a/prj/script/pip_reqs_install.cmd b/prj/script/pip_reqs_install.cmd index 3c0caa1..98fbcdc 100644 --- a/prj/script/pip_reqs_install.cmd +++ b/prj/script/pip_reqs_install.cmd @@ -6,7 +6,7 @@ CALl %venv_dir%\Scripts\pip install --upgrade setuptools REM 1) install latest (versions of) dependencies -CALL ${venv_dir}/bin/pip install -r ${pip_reqs_dir}/pip_reqs_base.txt +CALL %venv_dir%\Scripts\pip install -r %pip_reqs_dir%\pip_reqs_base.txt REM 2) install exact (versions of) dependencies -REM CALL ${venv_dir}/bin/pip install -r ../pip_reqs.txt +REM CALL %venv_dir%\Scripts\pip install -r %pip_reqs_dir%\pip_reqs.txt diff --git a/prj/script/venv_create.cmd b/prj/script/venv_create.cmd index a094578..f47fcff 100644 --- a/prj/script/venv_create.cmd +++ b/prj/script/venv_create.cmd @@ -4,7 +4,7 @@ REM set HTTPS_PROXY= http://10.110.15.6:8080 call common.cmd -CALL python -m venv %script_dir%\venv +CALL python -m venv %venv_dir% echo ".....virtual environment created"