mirror of https://github.com/explosion/spaCy.git
Use setuptools.find_packages()
This commit is contained in:
parent
fac3566aac
commit
a793174ae9
44
setup.py
44
setup.py
|
@ -8,53 +8,13 @@ import contextlib
|
||||||
from distutils.command.build_ext import build_ext
|
from distutils.command.build_ext import build_ext
|
||||||
from distutils.sysconfig import get_python_inc
|
from distutils.sysconfig import get_python_inc
|
||||||
from distutils import ccompiler, msvccompiler
|
from distutils import ccompiler, msvccompiler
|
||||||
|
from setuptools import Extension, setup, find_packages
|
||||||
try:
|
|
||||||
from setuptools import Extension, setup
|
|
||||||
except ImportError:
|
|
||||||
from distutils.core import Extension, setup
|
|
||||||
|
|
||||||
|
|
||||||
PACKAGE_DATA = {'': ['*.pyx', '*.pxd', '*.txt', '*.tokens']}
|
PACKAGE_DATA = {'': ['*.pyx', '*.pxd', '*.txt', '*.tokens']}
|
||||||
|
|
||||||
|
|
||||||
PACKAGES = [
|
PACKAGES = find_packages()
|
||||||
'spacy',
|
|
||||||
'spacy.data',
|
|
||||||
'spacy.cli',
|
|
||||||
'spacy.tokens',
|
|
||||||
'spacy.en',
|
|
||||||
'spacy.de',
|
|
||||||
'spacy.zh',
|
|
||||||
'spacy.es',
|
|
||||||
'spacy.fr',
|
|
||||||
'spacy.it',
|
|
||||||
'spacy.hu',
|
|
||||||
'spacy.pt',
|
|
||||||
'spacy.nl',
|
|
||||||
'spacy.sv',
|
|
||||||
'spacy.fi',
|
|
||||||
'spacy.bn',
|
|
||||||
'spacy.he',
|
|
||||||
'spacy.nb',
|
|
||||||
'spacy.ja',
|
|
||||||
'spacy.en.lemmatizer',
|
|
||||||
'spacy.cli.converters',
|
|
||||||
'spacy.language_data',
|
|
||||||
'spacy.serialize',
|
|
||||||
'spacy.syntax',
|
|
||||||
'spacy.munge',
|
|
||||||
'spacy.tests',
|
|
||||||
'spacy.tests.matcher',
|
|
||||||
'spacy.tests.parser',
|
|
||||||
'spacy.tests.serialize',
|
|
||||||
'spacy.tests.spans',
|
|
||||||
'spacy.tests.stringstore',
|
|
||||||
'spacy.tests.tagger',
|
|
||||||
'spacy.tests.tokenizer',
|
|
||||||
'spacy.tests.doc',
|
|
||||||
'spacy.tests.vectors',
|
|
||||||
'spacy.tests.vocab']
|
|
||||||
|
|
||||||
|
|
||||||
MOD_NAMES = [
|
MOD_NAMES = [
|
||||||
|
|
Loading…
Reference in New Issue