-
-
Notifications
You must be signed in to change notification settings - Fork 274
/
setup.py
93 lines (88 loc) · 2.32 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import os
from setuptools import setup
# Use the VERSION file to get version
version_file = os.path.join(os.path.dirname(__file__), 'underthesea', 'VERSION')
with open(version_file) as fh:
version = fh.read().strip()
install_requires = [
'Click>=6.0',
'python-crfsuite>=0.9.6',
'nltk',
'tqdm',
'requests',
'joblib',
'scikit-learn',
'PyYAML',
'underthesea_core==1.0.4'
]
tests_require = [
'nose==1.3.7'
]
setup_requires = [
]
extras_require = {
'train': [
'seqeval'
],
'deep': [
'torch>=1.1.0,<1.13',
'transformers>=3.5.0'
],
'wow': [
'dm-haiku',
'optax',
'soundfile',
'matplotlib',
'playsound'
],
'prompt': [
'openai'
],
'langdetect': [
'fasttext'
]
}
setup(
name='underthesea',
version=version,
description="Vietnamese NLP Toolkit",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="Vu Anh",
author_email='[email protected]',
url='https://github.com/undertheseanlp/underthesea',
packages=[
'underthesea',
],
package_dir={'underthesea': 'underthesea'},
entry_points={
'console_scripts': [
'underthesea=underthesea.cli:main'
]
},
include_package_data=True,
install_requires=install_requires,
license="GNU General Public License v3",
zip_safe=False,
keywords='underthesea',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
test_suite='tests',
tests_require=tests_require,
extras_require=extras_require,
setup_requires=setup_requires
)