From 1e7f738f284b85ed95d514fb13fbc1afb6b31087 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 27 Feb 2017 11:19:40 +1100 Subject: [PATCH] Ensure we install setuptools from requirements Use pip_install_gr so we get the version pinned by requirements. The depends-on is an example of where we're trying to pin to workaround issues. Depends-On: I9c57c08a150571c5bb62235d502839394d53a4c1 Change-Id: I780cca681b12a3e9d228dbf2fd9fa6e8ab1a82e1 --- tools/install_pip.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/install_pip.sh b/tools/install_pip.sh index a5ccb19399..dbe52782a4 100755 --- a/tools/install_pip.sh +++ b/tools/install_pip.sh @@ -144,6 +144,9 @@ if [[ -n $PYPI_ALTERNATIVE_URL ]]; then fi set -x -pip_install -U setuptools + +# Note setuptools is part of requirements.txt and we want to make sure +# we obey any versioning as described there. +pip_install_gr setuptools get_versions