* Fix prebuild command

This commit is contained in:
Matthew Honnibal 2015-11-03 07:21:03 +01:00
parent 8bde2bba58
commit 2714fb4733

2
fabfile.py vendored
View File

@ -56,7 +56,7 @@ def prebuild(build_dir='/tmp/build_spacy'):
local('cp -r %s/corpora/en/wordnet corpora/en/' % spacy_dir) local('cp -r %s/corpora/en/wordnet corpora/en/' % spacy_dir)
local('PYTHONPATH=`pwd` python bin/init_model.py en lang_data corpora spacy/en/data') local('PYTHONPATH=`pwd` python bin/init_model.py en lang_data corpora spacy/en/data')
local('fab test') local('fab test')
local('PYTHONPATH=`pwd` python spacy.en.download --force all en') local('PYTHONPATH=`pwd` python -m spacy.en.download --force all')
local('py.test --models spacy/tests/') local('py.test --models spacy/tests/')