]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ensure setuptools is update for all consumers of the build_utils script
authorAlfredo Deza <adeza@redhat.com>
Tue, 3 May 2016 12:27:02 +0000 (08:27 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 3 May 2016 12:27:02 +0000 (08:27 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
scripts/build_utils.sh

index 2abf4cc114f527b3299a99c3c6211a4df265fc44..2862911d8712737dbf7aa64877cd0e6e654ca22c 100644 (file)
@@ -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