From 919a4f0b04da03b9c6ab19692b21bc3d0a2b3aeb Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Wed, 18 Nov 2015 11:40:46 +0100 Subject: [PATCH] change data path, add repository --- requirements.txt | 2 +- setup.py | 2 +- spacy/en/download.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8a6e7dc9a..ffa8664d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,4 @@ plac six ujson cloudpickle -sputnik == 0.4.1 +sputnik == 0.5.1 diff --git a/setup.py b/setup.py index 00b92368e..eec86b537 100644 --- a/setup.py +++ b/setup.py @@ -179,7 +179,7 @@ def run_setup(exts): license="MIT", install_requires=['numpy', 'murmurhash', 'cymem == 1.30', 'preshed == 0.44', 'thinc == 4.0.0', "text_unidecode", 'plac', 'six', - 'ujson', 'cloudpickle', 'sputnik == 0.4.1'], + 'ujson', 'cloudpickle', 'sputnik == 0.5.1'], setup_requires=["headers_workaround"], cmdclass = {'build_ext': build_ext_subclass }, ) diff --git a/spacy/en/download.py b/spacy/en/download.py index 47a33ec92..9e2066647 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -31,8 +31,8 @@ def main(force=False): path = os.path.dirname(os.path.abspath(__file__)) command = sputnik.make_command( - data_path=path, - repository_url=os.environ.get('REPOSITORY_URL')) + data_path=os.path.join(path, '..', 'data'), + repository_url='http://sputnik-production.elasticbeanstalk.com') if force: command.purge()