mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
(re-)include cython sources, murmurhash header discovery
This commit is contained in:
parent
c2bbfb9312
commit
c17ce6c119
|
@ -1 +1,2 @@
|
||||||
recursive-include include *.h
|
recursive-include include *.h
|
||||||
|
recursive-include spacy *.pyx *.pxd
|
||||||
|
|
|
@ -3,7 +3,7 @@ cymem == 1.30
|
||||||
pathlib
|
pathlib
|
||||||
preshed == 0.44
|
preshed == 0.44
|
||||||
thinc == 4.0
|
thinc == 4.0
|
||||||
murmurhash == 0.24
|
murmurhash == 0.25
|
||||||
text-unidecode
|
text-unidecode
|
||||||
numpy
|
numpy
|
||||||
plac
|
plac
|
||||||
|
|
6
setup.py
6
setup.py
|
@ -206,9 +206,7 @@ def prepare_includes(path):
|
||||||
copy_include(numpy.get_include(), include_dir, 'numpy')
|
copy_include(numpy.get_include(), include_dir, 'numpy')
|
||||||
|
|
||||||
murmurhash = import_include('murmurhash')
|
murmurhash = import_include('murmurhash')
|
||||||
copy_include(
|
copy_include(murmurhash.get_include(), include_dir, 'murmurhash')
|
||||||
os.path.join(os.path.dirname(murmurhash.__file__), 'headers'),
|
|
||||||
include_dir, 'murmurhash')
|
|
||||||
|
|
||||||
|
|
||||||
def is_source_release(path):
|
def is_source_release(path):
|
||||||
|
@ -270,7 +268,7 @@ def setup_package():
|
||||||
url='https://spacy.io',
|
url='https://spacy.io',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
ext_modules=ext_modules,
|
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',
|
'thinc == 4.0.0', 'text_unidecode', 'plac', 'six',
|
||||||
'ujson', 'cloudpickle', 'sputnik == 0.6.2'],
|
'ujson', 'cloudpickle', 'sputnik == 0.6.2'],
|
||||||
cmdclass = {
|
cmdclass = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user