mitmproxy/dev
Aldo Cortesi 10750c9f30 python2 -> python in ./dev
Python 2 is not at python2 in most environments. If we really care, we should
just include an explicit version check at the head of the script.
2015-04-21 13:40:45 +12:00

13 lines
296 B
Bash
Executable File

#!/bin/bash
set -e
VENV=../venv.mitmproxy
python -m virtualenv $VENV
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."