TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Bartek Grzybowski | 50975a2 | 2020-05-20 02:07:39 -0700 | [diff] [blame] | 3 | # Setup runtime environment for the Python scripts |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 4 | |
Bartek Grzybowski | 50975a2 | 2020-05-20 02:07:39 -0700 | [diff] [blame] | 5 | virtualenv --version > /dev/null 2>&1 || { echo 'Virtualenv command is not available, exiting'; exit 1; } |
| 6 | pip3 --version > /dev/null 2>&1 || { echo 'python3-pip package is not available, exiting' ; exit 1; } |
| 7 | tox --version > /dev/null 2>&1 || { echo 'tox command is not available, exiting' ; exit 1; } |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 8 | |
Bartek Grzybowski | 50975a2 | 2020-05-20 02:07:39 -0700 | [diff] [blame] | 9 | tox -e MassPnfSim-runtime |
| 10 | echo -e "\n\nNow run:\nsource .tox/MassPnfSim-runtime/bin/activate" |