Gary Wu | fab2c44 | 2017-07-12 14:55:37 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | ############################################################################## |
| 4 | # Copyright (c) 2016 The Linux Foundation and others. |
| 5 | ############################################################################## |
| 6 | |
| 7 | ROBOT_VENV=$(mktemp -d --suffix=robot_venv) |
| 8 | echo "ROBOT_VENV=${ROBOT_VENV}" >> "${WORKSPACE}/env.properties" |
| 9 | |
| 10 | # The --system-site-packages parameter allows us to pick up system level |
| 11 | # installed packages. This allows us to bake matplotlib which takes very long |
| 12 | # to install into the image. |
| 13 | virtualenv --system-site-packages "${ROBOT_VENV}" |
| 14 | source "${ROBOT_VENV}/bin/activate" |
| 15 | |
| 16 | set -exu |
| 17 | |
| 18 | # Make sure pip itself us up-to-date. |
| 19 | pip install --upgrade pip |
| 20 | |
Bartosz Gardziejewski | 9c8df47 | 2021-04-22 09:15:49 +0200 | [diff] [blame] | 21 | pip install --no-binary pycparser==2.20 pycparser==2.20 |
Bartosz Gardziejewski | 2d9c936 | 2021-04-21 10:01:01 +0200 | [diff] [blame] | 22 | pip install pyOpenSSL==16.2.0 docker-py==1.10.6 importlib==1.0.4 requests==2.25.1 scapy==2.4.4 netifaces==0.10.9 netaddr==0.8.0 ipaddr==2.2.0 simplejson==3.17.2 demjson==2.2.4 |
| 23 | pip install robotframework-httplibrary==0.4.2 robotframework-requests==0.8.2 robotframework-sshlibrary==3.6.0 robotframework-selenium2library==1.8.0 robotframework-xvfb==1.2.2 |
eh552t | f96d50a | 2017-08-29 15:24:05 +0200 | [diff] [blame] | 24 | |
Bartosz Gardziejewski | 2d9c936 | 2021-04-21 10:01:01 +0200 | [diff] [blame] | 25 | pip install xvfbwrapper==0.2.9 |
| 26 | pip install PyVirtualDisplay==2.1 |
Gary Wu | fab2c44 | 2017-07-12 14:55:37 -0700 | [diff] [blame] | 27 | |
| 28 | # Print installed versions. |
| 29 | pip freeze |
| 30 | |
| 31 | # vim: sw=4 ts=4 sts=4 et ft=sh : |