Skip to content

Commit

Permalink
update windows pip scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dec1 committed Jun 10, 2024
1 parent 9b56183 commit dcf7ffb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions prj/script/common.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions prj/script/pip_reqs_install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion prj/script/venv_create.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit dcf7ffb

Please sign in to comment.