aboutsummaryrefslogtreecommitdiffstats
path: root/dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev.sh')
-rw-r--r--dev.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev.sh b/dev.sh
new file mode 100644
index 00000000..2e29c8e1
--- /dev/null
+++ b/dev.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+set -e
+VENV=./venv
+
+python -m virtualenv $VENV --always-copy
+. $VENV/bin/activate
+pip install -e ./netlib[dev]
+pip install -e ./pathod[dev]
+pip install -e ./mitmproxy[dev,examples,contentviews]
+
+echo ""
+echo "* Created virtualenv environment in $VENV."
+echo "* Installed all dependencies into the virtualenv."
+echo "* You can now activate the virtualenv: \`. $VENV/bin/activate\`"