-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
47 lines (45 loc) · 1.31 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
import os
from setuptools import setup, find_packages
root = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(root, "danlp", "about.py"), encoding="utf8") as f:
about = {}
exec(f.read(), about)
setup(
name='danlp',
description=about['__summary__'],
author=about["__author__"],
author_email=about["__email__"],
version=about["__version__"],
url=about["__url__"],
license=about["__license__"],
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[
'conllu',
'pandas',
'pyconll',
'tqdm',
'tweepy',
'progressbar'
],
extras_require={
'all' : [
'transformers<=4.3.3',
'gensim<=3.8.3',
'torch<=1.7.1',
'flair<=0.9',
'spacy<=2.2.3',
'allennlp<=2.5.0'
]
},
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering",
]
)