From 12de895e60f2066dea2548d6cf91eb5cd7145129 Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Sun, 15 Nov 2015 16:38:16 +0100 Subject: [PATCH] fix version --- requirements.txt | 1 + setup.py | 2 +- spacy/en/download.py | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index ac7c69f9c..8a6e7dc9a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,3 +10,4 @@ plac six ujson cloudpickle +sputnik == 0.4.1 diff --git a/setup.py b/setup.py index 40c25f42f..00b92368e 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'], + 'ujson', 'cloudpickle', 'sputnik == 0.4.1'], setup_requires=["headers_workaround"], cmdclass = {'build_ext': build_ext_subclass }, ) diff --git a/spacy/en/download.py b/spacy/en/download.py index a10200899..47a33ec92 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -18,8 +18,7 @@ def migrate(path): def link(package, path): if os.path.exists(path): os.unlink(path) - os.symlink(os.path.join(package.path, 'data'), - os.path.join(path)) + os.symlink(package.dir_path('data'), path) @plac.annotations(