aboutsummaryrefslogtreecommitdiffstats
path: root/csit/install-robotframework.sh
blob: 2c4f43200696a1609a7503ccb12fc28945574b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set -exu

ROBOT3_VENV=$(mktemp -d --suffix=robot_venv)
echo "ROBOT3_VENV=${ROBOT3_VENV}" >> "${WORKSPACE}/env.properties"

echo "Python version is: $(python3 --version)"

python3 -m venv "${ROBOT3_VENV}"
source "${ROBOT3_VENV}/bin/activate"

# Make sure pip3 itself us up-to-date.
python3 -m pip install --upgrade pip

echo "Installing Python Requirements"
python3 -m pip install -r ${WORKSPACE}/pylibs.txt
python3 -m pip freeze