[build] Update setuptools

Use fresh setuptools version to generate source tarball

Change-Id: I9119f061e1ec6845935a595ab8a3413e13a3b032
This commit is contained in:
Dmitry Burmistrov 2016-12-23 17:24:16 +04:00
parent 703c73764d
commit 0bba0d21e5
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ main () {
local venv=$(mktemp -d)
virtualenv "$venv"
source "${venv}/bin/activate"
pip install --upgrade setuptools
python setup.py --version # this will download pbr if it's not available
PBR_VERSION=$release_tag python setup.py sdist -d ${BUILDDIR}/
deactivate

View File

@ -82,6 +82,7 @@ This package provides the %{-n*} kernel modules
local venv=$(mktemp -d)
virtualenv "$venv"
source "${venv}/bin/activate"
pip install --upgrade setuptools
python setup.py --version # this will download pbr if it's not available
PBR_VERSION=$release_tag python setup.py sdist -d ${BUILDDIR}/
deactivate