puthuparambil.aditya | 056cc86 | 2021-09-14 16:47:09 +0100 | [diff] [blame] | 1 | ROBOT_VENV=$(mktemp -d --suffix=robot_venv) |
2 | echo "ROBOT_VENV=${ROBOT_VENV}" >> "${WORKSPACE}/env.properties" | ||||
3 | |||||
4 | echo "Python version is: $(python3 --version)" | ||||
5 | |||||
6 | python3 -m venv "${ROBOT_VENV}" | ||||
7 | source "${ROBOT_VENV}/bin/activate" | ||||
8 | |||||
9 | set -exu | ||||
10 | |||||
11 | # Make sure pip3 itself us up-to-date. | ||||
12 | python3 -m pip install --upgrade pip | ||||
13 | |||||
14 | echo "Installing Python Requirements" | ||||
15 | python3 -m pip install -r ${WORKSPACE}/pylibs.txt | ||||
16 | python3 -m pip freeze |