forked from asyml/forte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (67 loc) · 2.4 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import sys
import setuptools
from pathlib import Path
long_description = (Path(__file__).parent / "README.md").read_text()
if sys.version_info < (3, 6):
sys.exit('Python>=3.6 is required by Forte.')
setuptools.setup(
name="forte",
version="0.0.1a1",
url="https://github.com/asyml/forte",
description="Forte is extensible framework for building composable and "
"modularized NLP workflows.",
long_description=long_description,
long_description_content_type='text/markdown',
license='Apache License Version 2.0',
packages=setuptools.find_packages(exclude=["scripts", "examples"]),
include_package_data=True,
platforms='any',
install_requires=[
'sortedcontainers==2.1.0',
'numpy==1.16.5',
'jsonpickle==1.4',
'pyyaml==5.1.2',
'smart-open==1.8.4',
'typed_astunparse==2.1.4',
'funcsigs==1.0.2',
'mypy_extensions==0.4.3',
'typed_ast==1.4.0',
'jsonschema==3.0.2',
'texar-pytorch',
'typing>=3.7.4',
'typing-inspect>=0.6.0',
'dataclasses~=0.7;python_version<"3.7"'
],
extras_require={
'nltk': ['nltk==3.4.5'],
'ner': ['torch>=1.1.0', 'torchtext==0.4.0', 'tqdm==4.36.1'],
'srl': ['allennlp==1.0.0'],
'sentiment': ['vaderSentiment==3.2.1'],
'txtgen': ['regex', 'tensorflow'],
'stanza': ['stanza==1.0.1'],
'test': ['ddt', 'testfixtures'],
'example': ['termcolor==1.1.0', 'hypothesis==2.0.0'],
'wikipedia': ['rdflib==4.2.2'],
'ir': ['faiss-cpu>=1.6.1', 'elasticsearch==7.5.1'],
'spacy': ['spacy==2.3.0'],
'allennlp': ['allennlp==1.0.0', 'allennlp-models==1.0.0',
'torch>=1.5.0,<1.6.0'],
'cliner': ['marisa-trie==0.7.4', 'scipy==1.5.0',
'scikit-learn==0.23.1', 'repoze.lru==0.7',
'tensorflow-gpu==1.12.0', 'python-crfsuite==0.9.7']
},
entry_points={
'console_scripts': [
'generate_ontology = scripts.generate_ontology.__main__:main'
]
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)