-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsetup.py
48 lines (40 loc) · 1.29 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='spacy-entity-linker',
version='1.0.3',
author='Emanuel Gerber',
author_email='[email protected]',
packages=['spacy_entity_linker'],
url='https://github.com/egerber/spacy-entity-linker',
license="MIT",
classifiers=["Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6"
],
description='Linked Entity Pipeline for spaCy',
long_description=long_description,
long_description_content_type="text/markdown",
zip_safe=True,
install_requires=[
'spacy>=3.0.0',
'numpy>=1.0.0',
'tqdm'
],
entry_points={
'spacy_factories': 'entityLinker = spacy_entity_linker.EntityLinker:EntityLinker'
}
)