diff options
Diffstat (limited to 'test/mocks/masspnfsim/setup.sh')
-rwxr-xr-x | test/mocks/masspnfsim/setup.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/mocks/masspnfsim/setup.sh b/test/mocks/masspnfsim/setup.sh new file mode 100755 index 000000000..34481df1f --- /dev/null +++ b/test/mocks/masspnfsim/setup.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Setup runtime environment for the Python scripts + +virtualenv --version > /dev/null 2>&1 || { echo 'Virtualenv command is not available, exiting'; exit 1; } +pip3 --version > /dev/null 2>&1 || { echo 'python3-pip package is not available, exiting' ; exit 1; } +tox --version > /dev/null 2>&1 || { echo 'tox command is not available, exiting' ; exit 1; } + +tox -e MassPnfSim-runtime +echo -e "\n\nNow run:\nsource .tox/MassPnfSim-runtime/bin/activate" |