mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Ensure serialize is packaged.
This commit is contained in:
parent
8535d872e8
commit
b532f4eaa2
8
setup.py
8
setup.py
|
@ -82,7 +82,8 @@ def cython_setup(mod_names, language, includes, compile_args, link_args):
|
||||||
exts.append(e)
|
exts.append(e)
|
||||||
distutils.core.setup(
|
distutils.core.setup(
|
||||||
name='spacy',
|
name='spacy',
|
||||||
packages=['spacy', 'spacy.en', 'spacy.syntax'],
|
packages=['spacy', 'spacy.tokens', 'spacy.en', 'spacy.serialize',
|
||||||
|
'spacy.syntax', 'spacy.munge'],
|
||||||
description="Industrial-strength NLP",
|
description="Industrial-strength NLP",
|
||||||
author='Matthew Honnibal',
|
author='Matthew Honnibal',
|
||||||
author_email='honnibal@gmail.com',
|
author_email='honnibal@gmail.com',
|
||||||
|
@ -93,8 +94,6 @@ def cython_setup(mod_names, language, includes, compile_args, link_args):
|
||||||
"data/wordnet/*", "data/tokenizer/*",
|
"data/wordnet/*", "data/tokenizer/*",
|
||||||
"data/vocab/lexemes.bin",
|
"data/vocab/lexemes.bin",
|
||||||
"data/vocab/strings.txt"],
|
"data/vocab/strings.txt"],
|
||||||
"spacy.tokens": ["*.pxd"],
|
|
||||||
"spacy.serialize": ["*.pxd"],
|
|
||||||
"spacy.syntax": ["*.pxd"]},
|
"spacy.syntax": ["*.pxd"]},
|
||||||
ext_modules=exts,
|
ext_modules=exts,
|
||||||
cmdclass={'build_ext': Cython.Distutils.build_ext},
|
cmdclass={'build_ext': Cython.Distutils.build_ext},
|
||||||
|
@ -105,7 +104,8 @@ def cython_setup(mod_names, language, includes, compile_args, link_args):
|
||||||
def run_setup(exts):
|
def run_setup(exts):
|
||||||
setup(
|
setup(
|
||||||
name='spacy',
|
name='spacy',
|
||||||
packages=['spacy', 'spacy.tokens', 'spacy.en', 'spacy.syntax', 'spacy.munge'],
|
packages=['spacy', 'spacy.tokens', 'spacy.en', 'spacy.serialize',
|
||||||
|
'spacy.syntax', 'spacy.munge'],
|
||||||
description="Industrial-strength NLP",
|
description="Industrial-strength NLP",
|
||||||
author='Matthew Honnibal',
|
author='Matthew Honnibal',
|
||||||
author_email='honnibal@gmail.com',
|
author_email='honnibal@gmail.com',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user