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(