mitmproxy/dev.sh

15 lines
393 B
Bash
Raw Normal View History

2015-06-24 01:50:51 +00:00
#!/bin/bash
set -e
2016-02-15 14:43:59 +00:00
VENV=./venv
2015-09-19 09:18:57 +00:00
python -m virtualenv $VENV --always-copy
2015-08-19 13:10:15 +00:00
. $VENV/bin/activate
2016-02-15 14:43:59 +00:00
pip install -e ./netlib[dev]
pip install -e ./pathod[dev]
pip install -e ./mitmproxy[dev,examples,contentviews]
2015-03-14 02:08:34 +00:00
echo ""
echo "* Created virtualenv environment in $VENV."
echo "* Installed all dependencies into the virtualenv."
2015-09-19 09:18:57 +00:00
echo "* You can now activate the virtualenv: \`. $VENV/bin/activate\`"