Make sure we're using python2

This commit is contained in:
Itay Mizeretz 2018-01-02 17:53:28 +02:00
parent 3e6a2136d9
commit fd64c9dbf6
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ cp -f ${MONKEY_FOLDER}/monkey.sh /usr/bin/monkey
chmod 755 /usr/bin/monkey
# Prepare python virtualenv
pip install virtualenv --no-index --find-links file://$INSTALLATION_FOLDER
virtualenv ${PYTHON_FOLDER}
pip2 install virtualenv --no-index --find-links file://$INSTALLATION_FOLDER
virtualenv -p python2.7 ${PYTHON_FOLDER}
# install pip requirements
${PYTHON_FOLDER}/bin/python -m pip install -r $MONKEY_FOLDER/pip_requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER