From c17ce6c11981c77ff6e0736caa3bc1c816970028 Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Mon, 21 Dec 2015 12:40:44 +0100 Subject: [PATCH] (re-)include cython sources, murmurhash header discovery --- MANIFEST.in | 1 + requirements.txt | 2 +- setup.py | 6 ++---- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 18e7a8b29..c144c31a7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ recursive-include include *.h +recursive-include spacy *.pyx *.pxd diff --git a/requirements.txt b/requirements.txt index ccf78f379..1817e438d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ cymem == 1.30 pathlib preshed == 0.44 thinc == 4.0 -murmurhash == 0.24 +murmurhash == 0.25 text-unidecode numpy plac diff --git a/setup.py b/setup.py index 12e8b91f1..017fbfe5a 100644 --- a/setup.py +++ b/setup.py @@ -206,9 +206,7 @@ def prepare_includes(path): copy_include(numpy.get_include(), include_dir, 'numpy') murmurhash = import_include('murmurhash') - copy_include( - os.path.join(os.path.dirname(murmurhash.__file__), 'headers'), - include_dir, 'murmurhash') + copy_include(murmurhash.get_include(), include_dir, 'murmurhash') def is_source_release(path): @@ -270,7 +268,7 @@ def setup_package(): url='https://spacy.io', license='MIT', ext_modules=ext_modules, - install_requires=['numpy', 'murmurhash == 0.24', 'cymem == 1.30', 'preshed == 0.44', + install_requires=['numpy', 'murmurhash == 0.25', 'cymem == 1.30', 'preshed == 0.44', 'thinc == 4.0.0', 'text_unidecode', 'plac', 'six', 'ujson', 'cloudpickle', 'sputnik == 0.6.2'], cmdclass = {