Browse files

Add some scripts for installing launchpadlib in a virtualenv

  • Loading branch information...
1 parent 0887d8f commit 14804ce689497f49b21012f2263828f89df83330 @markmc committed Apr 6, 2012
Showing with 10 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +4 −0 tools/install_venv.sh
  3. +1 −0 tools/pip-requires
  4. +4 −0 tools/with_venv.sh
View
1 .gitignore
@@ -1,2 +1,3 @@
*.pyc
*~
+.venv
View
4 tools/install_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+virtualenv .venv
+./tools/with_venv.sh pip install --upgrade -r tools/pip-requires
View
1 tools/pip-requires
@@ -0,0 +1 @@
+launchpadlib
View
4 tools/with_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+TOOLS=`dirname $0`
+VENV=$TOOLS/../.venv
+source $VENV/bin/activate && $@

0 comments on commit 14804ce

Please sign in to comment.