-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (41 loc) · 1.47 KB
/
setup.py
File metadata and controls
49 lines (41 loc) · 1.47 KB
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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
# description
with open(os.path.join(here, 'README.md'), mode='rt', encoding='utf-8') as f:
long_description = f.read()
# version
version = {}
with open(os.path.join(here, 'clueval', 'version.py'), mode='rt', encoding='utf-8') as f:
exec(f.read(), version)
# requirements
with open(os.path.join(here, 'requirements.txt'), mode='rt', encoding='utf-8') as f:
install_requires = f.read().strip().split("\n")
setup(
name="clueval",
version=version["__version__"],
description="Evaluation of span predictions",
license="GPL-3.0-or-later",
long_description=long_description,
long_description_content_type="text/markdown",
author="Bao Minh Doan Dang, Stephanie Evert, Philipp Heinrich",
author_email="baominh.d.dang@fau.de",
url="https://github.com/fau-klue/CLUEval",
packages=find_packages(),
scripts=[
'bin/cluevaluate',
],
python_requires='>=3.9.0',
install_requires=install_requires,
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Development Status :: 3 - Alpha",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
],
)