diff --git a/fabfile.py b/fabfile.py index f7eac3f28..0fb1e80a6 100644 --- a/fabfile.py +++ b/fabfile.py @@ -54,10 +54,10 @@ def prebuild(build_dir='/tmp/build_spacy'): local('pip install --no-cache-dir -r requirements.txt') local('fab clean make') local('cp -r %s/corpora/en/wordnet corpora/en/' % spacy_dir) - local('cp %s/corpora/en/freqs.txt.gz corpora/en/' % spacy_dir) local('PYTHONPATH=`pwd` python bin/init_model.py en lang_data corpora spacy/en/data') local('fab test') - local('python setup.py sdist') + local('PYTHONPATH=`pwd` python spacy.en.download --force all en') + local('py.test --models spacy/tests/') def docs():