-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathsetup.py
46 lines (41 loc) · 1.19 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
from setuptools import setup, find_packages
import unittest
import codecs
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover("compare_mt/tests", pattern="test_*.py")
return test_suite
exec(open('compare_mt/version_info.py').read())
setup(
name="compare_mt",
version=__version__,
description="Holistic comparison of the output of text generation models",
long_description=codecs.open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url="https://github.com/neulab/compare-mt",
author="Graham Neubig",
license="BSD 3-Clause",
test_suite="setup.test_suite",
classifiers=[
"Intended Audience :: Developers",
"Topic :: Text Processing",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
],
packages=find_packages(),
entry_points={
"console_scripts": [
"compare-mt=compare_mt.compare_mt_main:main",
"compare-ll=compare_mt.compare_ll_main:main",
],
},
install_requires=[
"nltk>=3.2",
"numpy",
"matplotlib",
"absl-py",
"sacrebleu"
],
include_package_data=True,
)