X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Frun_report.sh;h=cac3cdc881fcaa0068e4e013d0387598ac92939d;hp=106608346f445b9f90fef1e1a72cd04da0f37631;hb=7a3ffd6d385159609fe9ee8b8c575aa4fa4d891a;hpb=adab3cb4d5abc7f555f40b5f268fb611a77cace5 diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh index 106608346f..cac3cdc881 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 \