do not let setup.py return an error, it stops the script

This commit is contained in:
Benjamin Dauvergne 2013-11-20 15:30:12 +01:00
parent 4aebcbdc56
commit dc25c5d92e
1 changed files with 1 additions and 1 deletions

View File

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