mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
when install fails, show the directory
This commit is contained in:
+9
-3
@@ -86,13 +86,19 @@ if (grep -Fiq "hg+" requirements.txt) then
|
||||
fi
|
||||
|
||||
# Install dependencies.
|
||||
set +e
|
||||
echo "-----> Installing dependencies using pip version $(pip --version | awk '{print $2}')"
|
||||
|
||||
env
|
||||
|
||||
|
||||
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