X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Frun_report.sh;h=e36eee37c33d92f36f1a7fe109e1dced859e7915;hp=ccbd2259024aee415293012276638f3fd9703fd3;hb=466ebbe92072c3b525a199b6f6601e8ece82e0d4;hpb=138c1b1f56a2b59afeafb92379e955b9baf95e7a diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh index ccbd225902..e36eee37c3 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 \