aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/setup.sh
blob: 34481df1f684732231cc479d27ac42e833c80aef (plain)
1
2
3
4
5
6
7
8
9
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"