Files
heroku-buildpack-python/bin/warnings
T
2015-12-03 14:01:51 -05:00

15 lines
490 B
Plaintext
Executable File

shopt -s extglob
pylibmc-missing() {
if grep -qi 'fatal error: libmemcached/memcached.h: No such file or directory' "$WARNINGS_LOG"; then
puts-warn "Hello! There was a problem with your build related to libmemcache."
puts-warn "The Python library 'pylibmc' must be explicitly specified in 'requirements.txt' in order to build correctly."
puts-warn "Once you do that, everything should work as expected. -- Much Love, Heroku."
fi
}
show-warnings() {
pylibmc-missing
}