Add some scripts for installing launchpadlib in a virtualenv

This commit is contained in:
Mark McLoughlin
2012-04-06 00:23:28 +01:00
parent 0887d8f9dc
commit 14804ce689
4 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
*.pyc
*~
.venv

4
tools/install_venv.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
virtualenv .venv
./tools/with_venv.sh pip install --upgrade -r tools/pip-requires

1
tools/pip-requires Normal file
View File

@@ -0,0 +1 @@
launchpadlib

4
tools/with_venv.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
TOOLS=`dirname $0`
VENV=$TOOLS/../.venv
source $VENV/bin/activate && $@