156f2708eb
Add installation scripts for Smaug's development virtualenv. These scripts can be used to create a virtual environment for Smaug like the other project do. The virtual environment could avoid multiple versions of conflict. Change-Id: Ib5fde38bd48160e9c2e31655eecd107d6efa2ec9 Closes-Bug: #1599427
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 && "$@"
|