X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Frun_report.sh;h=e4d1802f87f1f0dd89b849598eb057aac07e7739;hb=1a43f1efa34dff562b1e7cb0794e11f422d94f6b;hp=473dcd8848212d60d1d066c29511f12b42cf5fa7;hpb=130c7fc821fca1fea4c5d4ff68c38e4a8cf2772d;p=csit.git diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh index 473dcd8848..e4d1802f87 100755 --- a/resources/tools/presentation/run_report.sh +++ b/resources/tools/presentation/run_report.sh @@ -27,13 +27,13 @@ fi mkdir ${DIR[WORKING]} # Create virtual environment -virtualenv ${DIR[WORKING]}/env -. ${DIR[WORKING]}/env/bin/activate +virtualenv -p $(which python3) ${DIR[WORKING]}/env +source ${DIR[WORKING]}/env/bin/activate # Install python dependencies: -pip install -r requirements.txt +pip3 install -r requirements.txt -export PYTHONPATH=`pwd` +export PYTHONPATH=`pwd`:`pwd`/../../../:`pwd`/../../libraries/python python pal.py \ --specification specification.yaml \