mitmproxy/dev.sh

19 lines
465 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
set -o xtrace
2017-01-29 23:38:40 +00:00
echo "Creating dev environment in ./venv..."
2017-01-29 23:38:40 +00:00
python3 -m venv venv
. venv/bin/activate
pip3 install -U pip setuptools
pip3 install -r requirements.txt
2015-03-14 02:08:34 +00:00
echo ""
2017-01-29 23:38:40 +00:00
echo " * Created virtualenv environment in ./venv."
echo " * Installed all dependencies into the virtualenv."
echo " * You can now activate the $(python3 --version) virtualenv with this command: \`. venv/bin/activate\`"