-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
56 lines (50 loc) · 1.36 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
from setuptools import setup, find_packages
from SLTev import __version__
import sys
if sys.version_info[:2] >= (3, 7):
numpy_version = "numpy"
else:
# Later numpy versions are incompatible with Python <= 3.6
numpy_version = "numpy<=1.19.5"
with open("README.md") as f:
readme = f.read()
setup(
name="SLTev",
version=__version__,
author="Mohammad Mahmoudi",
author_email="zaribar2928@gmail.com",
description="a tool for evaluation",
long_description=readme,
packages=[
"SLTev",
],
data_files=[("SLTev", ["SLTev/mwerSegmenter"])],
include_package_data=True,
install_requires=[
numpy_version,
"gitpython",
"sacremoses",
"sacrebleu",
"gitdir",
"jiwer",
"filelock",
"pytest",
],
url="https://github.com/ELITR/SLTev.git",
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
],
entry_points={
"console_scripts": [
"SLTev = SLTev.SLTev:main",
"SLTeval = SLTev.SLTeval:main_point",
"ASReval = SLTev.ASReval:main_point",
"MTeval = SLTev.MTeval:main_point",
"SLTIndexParser = SLTev.index_parser:main",
],
},
python_requires=">=3.6",
license="MIT",
)