forked from Huffon/factsumm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (35 loc) · 1.07 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
from setuptools import setup, find_packages
requirements = [
"transformers>=4.6.0",
"pysbd",
"bert-score",
"dataclasses; python_version<'3.7'",
"rich",
"sumeval",
"stanford_openie",
"flair",
]
VERSION = {}
with open("factsumm/version.py", "r") as version_file:
exec(version_file.read(), VERSION)
setup(
name="factsumm",
version=VERSION["__version__"],
description=
"FactSumm: Factual Consistency Scorer for Abstractive Summarization",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
url="https://github.com/huffon/factsumm",
author="Hoon Heo",
license="Apache 2.0",
packages=find_packages(include=["factsumm", "factsumm.*"]),
install_requires=requirements,
python_requires=">=3.6.0",
extras_require={},
)