X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Flftools-install.sh;h=f458fd67e76715364bfe31b9b1fdf1b0434f2516;hb=fbab52ba632ae71f73bd227808d44f0bd62db956;hp=7ae9618de49a46f8adefb81fc00b6bc072820660;hpb=2c2b7ab2906106cf553e0ab358229496a5f1558e;p=releng%2Fglobal-jjb.git diff --git a/shell/lftools-install.sh b/shell/lftools-install.sh index 7ae9618d..f458fd67 100644 --- a/shell/lftools-install.sh +++ b/shell/lftools-install.sh @@ -1,5 +1,5 @@ #!/bin/bash -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. # @@ -14,9 +14,14 @@ echo "---> lftools-install.sh" # DO NOT set -u as virtualenv's activate script has unbound variables set -e -o pipefail -virtualenv "$WORKSPACE/.virtualenvs/lftools" -# shellcheck source=./.virtualenvs/lftools/bin/activate disable=SC1091 -source "$WORKSPACE/.virtualenvs/lftools/bin/activate" -pip install --upgrade pip -pip install --upgrade "lftools<1.0.0" -pip freeze +virtualenv --quiet "/tmp/v/lftools" +# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091 +source "/tmp/v/lftools/bin/activate" +pip install --quiet --upgrade pip +pip install --quiet --upgrade "lftools<1.0.0" + +# pipdeptree prints out a lot of information because lftools pulls in many +# dependencies. Let's only print it if we want to debug. +# echo "----> Pip Dependency Tree" +# pip install --quiet --upgrade pipdeptree +# pipdeptree