This commit is contained in:
Henning Peters 2016-03-13 18:12:32 +01:00
parent 9f628688ce
commit 1fe29c6919
4 changed files with 20 additions and 7 deletions

View File

@ -1,3 +1,4 @@
recursive-include include *.h recursive-include include *.h
include buildbot.json include buildbot.json
include LICENSE include LICENSE
include README.rst

View File

@ -28,7 +28,7 @@ Features
* No pre-processing required. spaCy takes raw text as input, warts and newlines and all. * No pre-processing required. spaCy takes raw text as input, warts and newlines and all.
Top Peformance Top Peformance
------------- --------------
* Fastest in the world: <50ms per document. No faster system has ever been * Fastest in the world: <50ms per document. No faster system has ever been
announced. announced.

View File

@ -1,10 +1,10 @@
cython cython
cymem>=1.30,<1.32
pathlib pathlib
numpy
cymem>=1.30,<1.32
preshed>=0.46.1,<0.47.0 preshed>=0.46.1,<0.47.0
thinc>=5.0.0,<5.1.0 thinc>=5.0.0,<5.1.0
murmurhash>=0.26,<0.27 murmurhash>=0.26,<0.27
numpy
plac plac
six six
ujson ujson

View File

@ -144,10 +144,13 @@ def setup_package():
return clean(root) return clean(root)
with chdir(root): with chdir(root):
about = {}
with open(os.path.join(root, "spacy", "about.py")) as f: with open(os.path.join(root, "spacy", "about.py")) as f:
about = {}
exec(f.read(), about) exec(f.read(), about)
with open(os.path.join(root, 'README.rst')) as f:
readme = f.read()
include_dirs = [ include_dirs = [
get_python_inc(plat_specific=True), get_python_inc(plat_specific=True),
os.path.join(root, 'include')] os.path.join(root, 'include')]
@ -168,15 +171,24 @@ def setup_package():
packages=PACKAGES, packages=PACKAGES,
package_data={'': ['*.pyx', '*.pxd', '*.txt', '*.tokens']}, package_data={'': ['*.pyx', '*.pxd', '*.txt', '*.tokens']},
description=about['__summary__'], description=about['__summary__'],
long_description=readme,
author=about['__author__'], author=about['__author__'],
author_email=about['__email__'], author_email=about['__email__'],
version=about['__version__'], version=about['__version__'],
url=about['__uri__'], url=about['__uri__'],
license=about['__license__'], license=about['__license__'],
ext_modules=ext_modules, ext_modules=ext_modules,
install_requires=['numpy', 'murmurhash>=0.26,<0.27', 'cymem>=1.30,<1.32.0', 'preshed>=0.46.1,<0.47', install_requires=[
'thinc>=5.0.0,<5.1.0', 'plac', 'six', 'numpy',
'ujson', 'cloudpickle', 'sputnik>=0.9.2,<0.10.0'], 'murmurhash>=0.26,<0.27',
'cymem>=1.30,<1.32.0',
'preshed>=0.46.1,<0.47',
'thinc>=5.0.0,<5.1.0',
'plac',
'six',
'ujson',
'cloudpickle',
'sputnik>=0.9.2,<0.10.0'],
classifiers=[ classifiers=[
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
'Environment :: Console', 'Environment :: Console',