forked from OpenNMT/OpenNMT-tf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (66 loc) · 2.46 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from setuptools import setup, find_packages
tests_require = [
"parameterized",
"nose2"
]
setup(
name="OpenNMT-tf",
version="1.22.0",
license="MIT",
description="Neural machine translation and sequence learning using TensorFlow",
author="OpenNMT",
author_email="[email protected]",
url="http://opennmt.net",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
],
project_urls={
"Documentation": "http://opennmt.net/OpenNMT-tf/",
"Forum": "http://forum.opennmt.net/",
"Gitter": "https://gitter.im/OpenNMT/OpenNMT-tf",
"Source": "https://github.com/OpenNMT/OpenNMT-tf/"
},
keywords="tensorflow opennmt nmt neural machine translation",
install_requires=[
"pyonmttok>=1.11.0,<2;platform_system=='Linux'",
"pyyaml",
"rouge==0.3.1",
"sacrebleu==1.*;python_version>='3.0'"
],
extras_require={
"tests": tests_require,
"tensorflow": ["tensorflow>=1.4.0,<2"],
"tensorflow_gpu": ["tensorflow-gpu>=1.4.0,<2"]
},
tests_require=tests_require,
test_suite="nose2.collector.collector",
packages=find_packages(exclude=["bin", "*.tests"]),
package_data={
"opennmt": [
"../third_party/multi-bleu.perl",
"../third_party/multi-bleu-detok.perl"]
},
entry_points={
"console_scripts": [
"onmt-ark-to-records=opennmt.bin.ark_to_records:main",
"onmt-average-checkpoints=opennmt.bin.average_checkpoints:main",
"onmt-build-vocab=opennmt.bin.build_vocab:main",
"onmt-convert-checkpoint=opennmt.bin.convert_checkpoint:main",
"onmt-detokenize-text=opennmt.bin.detokenize_text:main",
"onmt-main=opennmt.bin.main:main",
"onmt-merge-config=opennmt.bin.merge_config:main",
"onmt-tokenize-text=opennmt.bin.tokenize_text:main",
"onmt-update-vocab=opennmt.bin.update_vocab:main",
],
}
)