09c99dc02d
These tools will help developers to create a virtual environment with pre-installed requirements. kingbird.conf generation script will collect the defined properties and create a configuration file. Change-Id: I5d423df88a5ff08346fe9e3c9b08fd9379cf1878
8 lines
218 B
Bash
8 lines
218 B
Bash
#!/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 && "$@"
|