scipy-included

This commit is contained in:
2015-11-10 13:11:02 -05:00
parent a32ca25520
commit 5a979874ad
+15 -2
View File
@@ -8,7 +8,20 @@ pylibmc-missing() {
fi
}
show-warnings() {
pylibmc-missing
scipy-included() {
if grep -qi 'running setup.py install for scipy' "$WARNINGS_LOG"; then
puts-warn "Hello! It looks like you're trying to use scipy on Heroku."
puts-warn "Unfortunately, at this time, we do not directly support this library."
puts-warn "There is, however, a buildpack available that makes it possible to use it on Heroku."
puts-warn "You can learn more here: https://devcenter.heroku.com/articles/python-c-deps"
puts-warn "Sorry for the inconvenience. -- Much Love, Heroku."
fi
}
show-warnings() {
pylibmc-missing
scipy-included
}