2015-06-24 01:50:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
2015-03-12 11:12:15 +00:00
|
|
|
VENV=../venv.mitmproxy
|
|
|
|
|
2015-08-07 12:51:27 +00:00
|
|
|
python -m virtualenv $VENV --always-copy || { echo 'virtualenv is not installed. Exiting.' ; exit 1; }
|
2015-03-12 11:12:15 +00:00
|
|
|
source $VENV/bin/activate
|
2015-03-14 02:08:34 +00:00
|
|
|
pip install --src .. -r requirements.txt
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "* Created virtualenv environment in $VENV."
|
|
|
|
echo "* Installed all dependencies into the virtualenv."
|
2015-06-24 01:17:57 +00:00
|
|
|
echo "* Activated virtualenv environment."
|