call setup.py a first time to initialize setup requirements

This commit is contained in:
Benjamin Dauvergne 2013-11-19 18:16:15 +01:00
parent 2c21a9ddd7
commit fb3110cc5a
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ cd $GIT_PROJECT_PATH
git checkout master
git pull
if [ -f "setup.py" ]; then
python setup.py 2>/dev/null
PROJECT_NAME=`python setup.py --name`
PROJECT_VERSION=`python setup.py --version`
PROJECT_FULL_NAME=`python setup.py --fullname`