From f1c4efb464390955205ef634b4cab2ed295ced6c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Mon, 23 Nov 2015 12:50:46 -0500 Subject: [PATCH] distribute warning --- bin/warnings | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/warnings b/bin/warnings index 3212f305..bc66b2ca 100755 --- a/bin/warnings +++ b/bin/warnings @@ -18,10 +18,21 @@ scipy-included() { fi } +distribute-included() { + if grep -qi 'Running setup.py install for distribute' "$WARNINGS_LOG"; then + puts-warn "Hello! Your requirements.txt file contains the distribute package." + puts-warn "This library is automatically installed by Heroku and shouldn't be in" + puts-warn "Your requirements.txt file. This can cause unexpected behavior." + puts-warn "-- Much Love, Heroku." + fi + +} + show-warnings() { pylibmc-missing scipy-included + distribute-included } -- GitLab