From: Alfredo Deza Date: Tue, 3 May 2016 12:27:02 +0000 (-0400) Subject: ensure setuptools is update for all consumers of the build_utils script X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4661f371f239933cbf004018e2c26ff66c3d75f6;p=ceph-build.git ensure setuptools is update for all consumers of the build_utils script Signed-off-by: Alfredo Deza --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 2abf4cc1..2862911d 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -21,6 +21,9 @@ install_python_packages () { PIP_SDIST_INDEX="$HOME/.cache/pip" mkdir -p $PIP_SDIST_INDEX + echo "Updating setuptools" + $VENV/pip install --upgrade --exists-action=i --download="$PIP_SDIST_INDEX" setuptools + echo "Ensuring latest pip is installed" $VENV/pip install --upgrade --exists-action=i --download="$PIP_SDIST_INDEX" pip $VENV/pip install --upgrade --exists-action=i --find-links="file://$PIP_SDIST_INDEX" --no-index pip