mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Compile the new modules after refactor
This commit is contained in:
parent
24d6ce99ec
commit
d87d71caf4
8
setup.py
8
setup.py
|
@ -93,6 +93,7 @@ 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.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},
|
||||||
|
@ -103,7 +104,7 @@ 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.en', 'spacy.syntax', 'spacy.munge'],
|
packages=['spacy', 'spacy.tokens', 'spacy.en', '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',
|
||||||
|
@ -148,7 +149,7 @@ def main(modules, is_pypy):
|
||||||
|
|
||||||
|
|
||||||
MOD_NAMES = ['spacy.parts_of_speech', 'spacy.strings',
|
MOD_NAMES = ['spacy.parts_of_speech', 'spacy.strings',
|
||||||
'spacy.lexeme', 'spacy.vocab', 'spacy.tokens', 'spacy.spans',
|
'spacy.lexeme', 'spacy.vocab',
|
||||||
'spacy.morphology',
|
'spacy.morphology',
|
||||||
'spacy.syntax.stateclass',
|
'spacy.syntax.stateclass',
|
||||||
'spacy._ml', 'spacy.tokenizer', 'spacy.en.attrs',
|
'spacy._ml', 'spacy.tokenizer', 'spacy.en.attrs',
|
||||||
|
@ -156,7 +157,8 @@ MOD_NAMES = ['spacy.parts_of_speech', 'spacy.strings',
|
||||||
'spacy.syntax.transition_system',
|
'spacy.syntax.transition_system',
|
||||||
'spacy.syntax.arc_eager',
|
'spacy.syntax.arc_eager',
|
||||||
'spacy.syntax._parse_features',
|
'spacy.syntax._parse_features',
|
||||||
'spacy.gold', 'spacy.orth',
|
'spacy.gold', 'spacy.orth', 'spacy.serialize',
|
||||||
|
'spacy.tokens.doc', 'spacy.tokens.spans', 'spacy.tokens.token',
|
||||||
'spacy.syntax.ner']
|
'spacy.syntax.ner']
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user