fix nltk downloads in install
@@ -86,9 +86,8 @@ install :
# See https://github.com/pypa/pip/issues/4537.
python setup.py install_egg_info
pip install --upgrade --upgrade-strategy eager -e . -r dev-requirements.txt
- # Docs are not built on docker, and the runner is unable to find
- # the nltk_data folder. Hence, we download the requirement.
- python -c 'import nltk; nltk.download("wordnet")'
+ # These nltk packages are used by the 'checklist' module.
+ python -c 'import nltk; [nltk.download(p) for p in ("wordnet", "wordnet_ic", "sentiwordnet")]'
#
# Documention helpers.
#
