forked from asyml/stave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.43 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
import sys
from pathlib import Path
import setuptools
long_description = (Path(__file__).parent / "README.md").read_text()
if sys.version_info < (3, 6):
sys.exit('Python>=3.6 is required by Stave.')
setuptools.setup(
name="stave",
version="0.0.2.dev1",
url="https://github.com/asyml/stave",
description="Stave is a fast, lightweight, extensible web-based text "
"annotation and visualization tool designed to support a "
"wide range of data types and NLP tasks.",
long_description=long_description,
long_description_content_type='text/markdown',
license='Apache License Version 2.0',
package_dir={'': "simple-backend"},
packages=setuptools.find_packages(where="simple-backend"),
include_package_data=True,
platforms='any',
install_requires=[
'requests==2.25.1',
'django>=3.0.4',
'django-guardian==2.3.0',
'tornado==6.1'
],
extras_require={
"forte": ["forte"],
},
entry_points={
'console_scripts':[
'stave = stave_backend.lib.stave_cli: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',
]
)