Commit 3c3e6210 authored by Kenneth Reitz's avatar Kenneth Reitz

Revert "Revert "Revert "debug"""

This reverts commit 72710696.
parent 40e91ffa
......@@ -10,16 +10,6 @@ PIP_STATUS="${PIPESTATUS[0]}"
set -e
show-warnings
echo
echo
echo
echo
cat $WARNINGS_LOG | indent
echo
echo
echo
echo
if [[ ! $PIP_STATUS -eq 0 ]]; then
exit 1
......@@ -33,4 +23,4 @@ cp requirements.txt .heroku/python/requirements-declared.txt
[ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install
[ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first
echo
\ No newline at end of file
echo
shopt -s extglob
old-platform() {
echo 'old platform'
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 "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."
......@@ -39,7 +37,6 @@ distribute-included() {
}
show-warnings() {
echo "show warnings $WARNINGS_LOG"
old-platform
pylibmc-missing
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