mitmproxy/dev
2015-08-07 14:51:27 +02:00

13 lines
372 B
Bash
Executable File

#!/bin/bash
set -e
VENV=../venv.mitmproxy
python -m virtualenv $VENV --always-copy || { echo 'virtualenv is not installed. Exiting.' ; exit 1; }
source $VENV/bin/activate
pip install --src .. -r requirements.txt
echo ""
echo "* Created virtualenv environment in $VENV."
echo "* Installed all dependencies into the virtualenv."
echo "* Activated virtualenv environment."