mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
cleanup
This commit is contained in:
-10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user