mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
distribute warning
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user