mitmproxy/dev

17 lines
417 B
Plaintext
Raw Normal View History

#!/bin/sh
VENV=../venv.mitmproxy
PIP="$VENV/bin/pip --cache-dir ~/.pipcache"
echo "This script sets up the following:"
echo "\t~/.pipcache - A pip cache directory"
echo "\t$VENV - A development virtualenv"
mkdir -p ~/.pipcache
virtualenv $VENV
source $VENV/bin/activate
$PIP install -r ./requirements.txt
# Re-install these to make them editable
$PIP install --editable ../netlib
$PIP install --editable ../pathod