From: Jamo Luhrsen Date: Thu, 8 Jun 2017 23:27:07 +0000 (-0700) Subject: Call pipdeptree from python -m X-Git-Tag: v0.3.0~8 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=62f7abdf038e6a2534d139792b61814c03d41c7c;p=releng%2Fglobal-jjb.git Call pipdeptree from python -m Instead of pipdeptree itself which fails when the workspace is too long, due to kernel constraint on max length available for an interpreter and args. Change-Id: Id7c3933c8a53c7648070e80e0d74bf905e547611 Signed-off-by: Jamo Luhrsen Signed-off-by: Thanh Ha --- diff --git a/shell/lftools-install.sh b/shell/lftools-install.sh index 19dd1e03..cebb0a5d 100644 --- a/shell/lftools-install.sh +++ b/shell/lftools-install.sh @@ -23,4 +23,4 @@ $PYTHON -m pip install --quiet --upgrade pipdeptree $PYTHON -m pip install --quiet --upgrade "lftools<1.0.0" echo "----> Pip Dependency Tree" -pipdeptree +$PYTHON -m pipdeptree diff --git a/shell/tox-install.sh b/shell/tox-install.sh index 09b9ab27..a6e26bc2 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -14,4 +14,4 @@ $PYTHON -m pip install --quiet --upgrade pipdeptree $PYTHON -m pip install --quiet --upgrade tox argparse echo "----> Pip Dependency Tree" -pipdeptree +$PYTHON -m pipdeptree