summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
d757997)
Signed-off-by: Venkatrangan Govindarajan <gvrangan@gmail.com>
Change-Id: I7f6169b98dcb0d8e215e41dff6590beff12d3e3c
- shell: |
#!/bin/bash -l
set -xe -o pipefail
- shell: |
#!/bin/bash -l
set -xe -o pipefail
- virtualenv -p python3 --system-site-packages $WORKSPACE/venv
+ python3 -m venv $WORKSPACE/venv
source $WORKSPACE/venv/bin/activate
PYTHON="$WORKSPACE/venv/bin/python"
$PYTHON -m pip install --upgrade networkx
source $WORKSPACE/venv/bin/activate
PYTHON="$WORKSPACE/venv/bin/python"
$PYTHON -m pip install --upgrade networkx
# The --system-site-packages parameter allows us to pick up system level
# installed packages. This allows us to bake matplotlib which takes very long
# to install into the image.
# The --system-site-packages parameter allows us to pick up system level
# installed packages. This allows us to bake matplotlib which takes very long
# to install into the image.
-virtualenv -p python3 --system-site-packages "${ROBOT_VENV}"
+python3 -m venv "${ROBOT_VENV}"
# shellcheck disable=SC1090
source "${ROBOT_VENV}/bin/activate"
# shellcheck disable=SC1090
source "${ROBOT_VENV}/bin/activate"
echo "Installing Python Requirements"
cat << 'EOF' > "requirements.txt"
docker-py
echo "Installing Python Requirements"
cat << 'EOF' > "requirements.txt"
docker-py