Add some scripts for installing launchpadlib in a virtualenv
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
*.pyc
|
||||
*~
|
||||
.venv
|
||||
|
4
tools/install_venv.sh
Executable file
4
tools/install_venv.sh
Executable 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
1
tools/pip-requires
Normal file
@@ -0,0 +1 @@
|
||||
launchpadlib
|
4
tools/with_venv.sh
Executable file
4
tools/with_venv.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
TOOLS=`dirname $0`
|
||||
VENV=$TOOLS/../.venv
|
||||
source $VENV/bin/activate && $@
|
Reference in New Issue
Block a user