aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.mkd2
-rwxr-xr-xdev12
-rw-r--r--dev.bat6
3 files changed, 8 insertions, 12 deletions
diff --git a/README.mkd b/README.mkd
index ce276764..d362fc69 100644
--- a/README.mkd
+++ b/README.mkd
@@ -65,7 +65,7 @@ To confirm that you're up and running, activate the virtualenv, and run the
mitmproxy test suite:
```
-$ source ../venv.mitmproxy/bin/activate
+$ ../venv.mitmproxy/bin/activate
$ nosetests ./test
```
Note that the main executables for the project - **mitmdump**, **mitmproxy** and
diff --git a/dev b/dev
index c8346af1..457b69cf 100755
--- a/dev
+++ b/dev
@@ -1,16 +1,6 @@
#!/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
+pip install --src .. -r requirements.txt \ No newline at end of file
diff --git a/dev.bat b/dev.bat
new file mode 100644
index 00000000..ca864806
--- /dev/null
+++ b/dev.bat
@@ -0,0 +1,6 @@
+@echo off
+set VENV=..\venv.mitmproxy
+
+virtualenv %VENV%
+call %VENV%\Scripts\activate.bat
+pip install --src .. -r requirements.txt \ No newline at end of file