mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +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 spacy *.pyx *.pxd
|
||||
|
|
|
@ -3,7 +3,7 @@ cymem == 1.30
|
|||
pathlib
|
||||
preshed == 0.44
|
||||
thinc == 4.0
|
||||
murmurhash == 0.24
|
||||
murmurhash == 0.25
|
||||
text-unidecode
|
||||
numpy
|
||||
plac
|
||||
|
|
6
setup.py
6
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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user