From 8bde2bba58b7c685d1f09faebfa3ddda5232e82c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 3 Nov 2015 07:11:59 +0100 Subject: [PATCH] * Fiddle with prebuild command --- fabfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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():