aboutsummaryrefslogtreecommitdiffstats
path: root/.env
diff options
context:
space:
mode:
Diffstat (limited to '.env')
-rw-r--r--.env5
1 files changed, 5 insertions, 0 deletions
diff --git a/.env b/.env
new file mode 100644
index 00000000..7f847e29
--- /dev/null
+++ b/.env
@@ -0,0 +1,5 @@
+DIR=`dirname $0`
+if [ -z "$VIRTUAL_ENV" ] && [ -f $DIR/../venv.mitmproxy/bin/activate ]; then
+ echo "Activating mitmproxy virtualenv..."
+ source $DIR/../venv.mitmproxy/bin/activate
+fi