From b6a61445c165afa75dff6c6d334f6523fd7e5a13 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Tue, 19 Sep 2017 12:06:26 +0200 Subject: [PATCH] Install the latest version of setuptools When trying to install bifrost on CentOS , shade could not be installed properly, because the system had an old version of setuptools. Add this upgrade to install-deps, to have the latest version of it. Closes-Bug: #1695969 Change-Id: I31e2d3af04eb6fa74a03e7fa731f58dbb30bd3bc --- scripts/install-deps.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index c6679c16f..f13c28431 100644 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -172,3 +172,6 @@ sudo -H -E ${PIP} install bindep # bindep returns 1 if packages are missing bindep -b &> /dev/null || ${INSTALLER_CMD} $(bindep -b) + +# upgrade setuptools, as latest version is needed to install some projects +sudo -H -E ${PIP} install --upgrade setuptools