summaryrefslogtreecommitdiff
path: root/pkg/tools/with_venv.sh
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-06 05:33:24 +0900
committerkali <kali@leap.se>2012-09-06 05:33:24 +0900
commit7274c4dfc0e827b201a85567540fda8af972bf70 (patch)
tree7e3f70130b96f5da235b6a2a489a22a48b3e0541 /pkg/tools/with_venv.sh
parent605717159e03b68105d708a153f668274d11daae (diff)
pkg.utils.parse_requirements used in setup
renamed setup-->pkg because name collision
Diffstat (limited to 'pkg/tools/with_venv.sh')
-rwxr-xr-xpkg/tools/with_venv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tools/with_venv.sh b/pkg/tools/with_venv.sh
new file mode 100755
index 00000000..0e58f1ab
--- /dev/null
+++ b/pkg/tools/with_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+TOOLS=`dirname $0`
+VENV=$TOOLS/../../.venv
+source $VENV/bin/activate && $@