* Ensure serialize is packaged.

This commit is contained in:
Matthew Honnibal 2015-07-27 01:51:37 +02:00
parent 8535d872e8
commit b532f4eaa2
1 changed files with 4 additions and 4 deletions

View File

@ -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',