Commit b39ffa8f authored by Kenneth Reitz's avatar Kenneth Reitz

when install fails, show the directory

parent 0b1926f0
...@@ -86,12 +86,18 @@ if (grep -Fiq "hg+" requirements.txt) then ...@@ -86,12 +86,18 @@ if (grep -Fiq "hg+" requirements.txt) then
fi fi
# Install dependencies. # Install dependencies.
set +e
echo "-----> Installing dependencies using pip version $(pip --version | awk '{print $2}')" 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
}
pip install --use-mirrors -r requirements.txt -v | indent set -e
# Django support. # Django support.
if [ "$NAME" = "Python/Django" ]; then if [ "$NAME" = "Python/Django" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment