summaryrefslogtreecommitdiff
path: root/common/pkg/tools/with_venvwrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/pkg/tools/with_venvwrapper.sh')
-rwxr-xr-xcommon/pkg/tools/with_venvwrapper.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/common/pkg/tools/with_venvwrapper.sh b/common/pkg/tools/with_venvwrapper.sh
deleted file mode 100755
index b62bc10f..00000000
--- a/common/pkg/tools/with_venvwrapper.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-#Wraps a command in a virtualenwrapper passed as first argument.
-#Example:
-#with_virtualenvwrapper.sh leap-bitmask ./run_tests.sh
-
-wd=`pwd`
-alias pyver='python -c "import $1;print $1.__path__[0]; print $1.__version__;"'
-
-source `which virtualenvwrapper.sh`
-echo "Activating virtualenv " $1
-echo "------------------------------------"
-workon $1
-cd $wd
-echo "running version: "
-echo `pyver leap.bitmask`
-echo `pyver leap.soledad.common`
-echo `pyver leap.keymanager`
-$2 $3 $4 $5