Added virtualenv to setup and run python scripts

This commit is contained in:
2015-09-13 08:30:48 +01:00
parent 199521b40a
commit c33bb4b5ad
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
PYTHONPATH="$1/code/pysource"
export PYTHONPATH
cd $1/code/
source ./bin/activate
echo `which python`
python ./synthesize_grains.py
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
pip install virtualenv
virtualenv ./
source ./bin/activate
pip install ./