This commit is contained in:
Kenneth Reitz
2012-02-01 12:49:08 -05:00
parent 0b46e1d807
commit 8f5385f9ca
-10
View File
@@ -87,21 +87,11 @@ if (grep -Fiq "hg+" requirements.txt) then
fi
# Install dependencies.
set +e
echo "-----> Installing dependencies using pip version $(pip --version | awk '{print $2}')"
export GIT_TRACE=1
pip install --use-mirrors -r requirements.txt -v | indent
# If there's an error, purge and recreate.
[ $? -ne 0 ] && {
ls -a $BUILD_DIR/src/requests/
exit 1
}
set -e
# Django support.
if [ "$NAME" = "Python/Django" ]; then
source $BIN_DIR/steps/django