mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b2c0b5df9 | |||
| 49b9eaa93e | |||
| 677dfeec11 |
@@ -1,5 +1,9 @@
|
||||
# Python Buildpack Changelog
|
||||
|
||||
## 99
|
||||
|
||||
Cleanup.
|
||||
|
||||
## 98
|
||||
|
||||
Official NLTK support and other improvements.
|
||||
|
||||
@@ -14,9 +14,6 @@ source $BIN_DIR/utils
|
||||
|
||||
bpwatch start nltk_download
|
||||
|
||||
export NLTK_DATA_DIR="$BUILD_DIR/nltk_data"
|
||||
export NLTK_DATA="$BUILD_DIR/nltk_data"
|
||||
|
||||
# Check that nltk was installed by pip, otherwise obviously not needed
|
||||
python -m nltk.downloader -h >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
@@ -30,8 +27,6 @@ if [ $? -eq 0 ]; then
|
||||
else
|
||||
puts-warn "nltk.txt not found, not downloading any corpora"
|
||||
fi
|
||||
else
|
||||
puts-warn "nltk not apparently installed, not downloading packages"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user