Skip to content

Commit

Permalink
new style venv
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Apr 13, 2020
1 parent 9d82940 commit 15fb53f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tmuxinator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ root: /mnt/c/Users/Andrei_Sorokin2/projects/bombard

windows:
- debug: cd bombard; python3
- bash: cd bombard
- bash: cd bombard; . ./activate.sh
4 changes: 2 additions & 2 deletions activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ fi
# virtual env
if [[ ! -d ${VENV_FOLDER} ]] ; then
echo -e $CYAN"Creating virtual environment for python in ${VENV_FOLDER}"$NC
virtualenv ${VENV_FOLDER} -p `which $PYTHON`
$PYTHON -m venv ${VENV_FOLDER}
. ${VENV_FOLDER}/bin/activate
pip install -r requirements.txt
$PYTHON -m pip install -r requirements.txt
else
echo -e $CYAN"Activating virtual environment ..."$NC
. ${VENV_FOLDER}/bin/activate
Expand Down

0 comments on commit 15fb53f

Please sign in to comment.