-
Notifications
You must be signed in to change notification settings - Fork 36
/
setup.py
40 lines (36 loc) · 1.03 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
import setuptools
from dee import __version__
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="dee",
version=__version__,
author="Tong Zhu",
author_email="[email protected]",
description="Document Event Extraction Toolkit",
long_description_content_type="text/markdown",
long_description=long_description,
packages=setuptools.find_packages(".", exclude=("*tests*",)),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.7",
install_requires=[
"torch>=1.5.1",
"pytorch-mcrf>=0.0.3",
"gpu-watchmen>=0.3.8",
"loguru>=0.5.3",
"matplotlib>=3.3.0",
"numpy>=1.21",
"transformers>=4.9.1",
"dgl>=0.6.1",
"tqdm>=4.53.0",
"networkx>=2.4",
"tensorboard>=2.4.1",
],
extras_require={
"dev": ["pytest", "coverage", "black", "flake8", "isort", "sphinx"]
},
package_data={},
)