* Fiddle with prebuild command

This commit is contained in:
Matthew Honnibal 2015-11-03 07:11:59 +01:00
parent cb1376465f
commit 8bde2bba58
1 changed files with 2 additions and 2 deletions

4
fabfile.py vendored
View File

@ -54,10 +54,10 @@ def prebuild(build_dir='/tmp/build_spacy'):
local('pip install --no-cache-dir -r requirements.txt') local('pip install --no-cache-dir -r requirements.txt')
local('fab clean make') local('fab clean make')
local('cp -r %s/corpora/en/wordnet corpora/en/' % spacy_dir) 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('PYTHONPATH=`pwd` python bin/init_model.py en lang_data corpora spacy/en/data')
local('fab test') 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(): def docs():