Commit 72710696 authored by Kenneth Reitz's avatar Kenneth Reitz

Revert "Revert "debug""

This reverts commit d2722899.
parent d2722899
...@@ -10,6 +10,9 @@ PIP_STATUS="${PIPESTATUS[0]}" ...@@ -10,6 +10,9 @@ PIP_STATUS="${PIPESTATUS[0]}"
set -e set -e
show-warnings show-warnings
echo
echo
cat $WARNINGS_LOG | indent
if [[ ! $PIP_STATUS -eq 0 ]]; then if [[ ! $PIP_STATUS -eq 0 ]]; then
exit 1 exit 1
......
shopt -s extglob shopt -s extglob
old-platform() { old-platform() {
echo 'old platform'
if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then
echo 'true'
puts-warn "Hello! It looks like your application is using an outdated version of Python." puts-warn "Hello! It looks like your application is using an outdated version of Python."
puts-warn "This caused the security warning you saw above during the 'pip install' step." puts-warn "This caused the security warning you saw above during the 'pip install' step."
puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file." puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
...@@ -37,6 +39,7 @@ distribute-included() { ...@@ -37,6 +39,7 @@ distribute-included() {
} }
show-warnings() { show-warnings() {
echo "show warnings $WARNINGS_LOG"
old-platform old-platform
pylibmc-missing pylibmc-missing
scipy-included scipy-included
......
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