kingbird/tools/with_venv.sh
Dimitri Mazmanov 83a3c784af Fix the tools directory files
For some reason .venv wouldn't install the pip
packages. Fixed installation.

Change-Id: I5a80c42976c9534290f278561dc2e23edd5a04a9
2015-11-17 09:06:52 +01:00

8 lines
218 B
Bash
Executable File

#!/bin/bash
tools_path=${tools_path:-$(dirname $0)}
venv_path=${venv_path:-${tools_path}}
venv_dir=${venv_name:-/../.venv}
TOOLS=${tools_path}
VENV=${venv:-${venv_path}/${venv_dir}}
source ${VENV}/bin/activate && "$@"