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