Do not print pipdeptree for lftools 38/5138/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jun 2017 22:18:29 +0000 (18:18 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jun 2017 22:20:58 +0000 (18:20 -0400)
pipdeptree causes a lot of text spam in the logs and is really only
useful for us when we need to troubleshoot so lets comment it out by
default.

Change-Id: I36de21e3b08d5bd5aa49ae628c2bec37e3ca2fe6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/lftools-install.sh

index cebb0a5..8b1c8f1 100644 (file)
@@ -19,8 +19,10 @@ virtualenv --quiet "$WORKSPACE/.virtualenvs/lftools"
 source "$WORKSPACE/.virtualenvs/lftools/bin/activate"
 PYTHON="$WORKSPACE/.virtualenvs/lftools/bin/python"
 $PYTHON -m pip install --quiet --upgrade pip
 source "$WORKSPACE/.virtualenvs/lftools/bin/activate"
 PYTHON="$WORKSPACE/.virtualenvs/lftools/bin/python"
 $PYTHON -m pip install --quiet --upgrade pip
-$PYTHON -m pip install --quiet --upgrade pipdeptree
 $PYTHON -m pip install --quiet --upgrade "lftools<1.0.0"
 
 $PYTHON -m pip install --quiet --upgrade "lftools<1.0.0"
 
-echo "----> Pip Dependency Tree"
-$PYTHON -m pipdeptree
+# 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"
+# $PYTHON -m pip install --quiet --upgrade pipdeptree
+# $PYTHON -m pipdeptree