mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-08 03:18:34 +03:00
added sloppy workaround to avoid build error from spaCy models not being downloaded
This commit is contained in:
@@ -17,6 +17,14 @@ build:
|
||||
post_install:
|
||||
# Install dev dependencies, without using a virtual environment
|
||||
- pipenv install --dev --system
|
||||
# This is a sloppy workaround
|
||||
- pipenv run python -m spacy download xx_ent_wiki_sm
|
||||
- pipenv run python -m spacy download fr_core_news_sm
|
||||
- pipenv run python -m spacy download de_core_news_sm
|
||||
- pipenv run python -m spacy download nl_core_news_sm
|
||||
- pipenv run python -m spacy download it_core_news_sm
|
||||
- pipenv run python -m spacy download ru_core_news_sm
|
||||
- pipenv run python -m spacy download en_core_web_sm
|
||||
|
||||
# Build documentation in the "docs/" directory with Sphinx
|
||||
sphinx:
|
||||
|
||||
Reference in New Issue
Block a user