-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (32 loc) · 1.05 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
#!/usr/bin/env python3
# coding=utf-8
# Copyright 2017-2020 The THUMT Authors
from setuptools import find_packages
from setuptools import setup
setup(
name="thumt",
version="1.2.0",
author="The THUMT Authors",
author_email="[email protected]",
description="THUMT: An open-source toolkit for neural machine translation",
url="http://thumt.thunlp.org",
entry_points={
"console_scripts": [
"thumt-trainer = thumt.bin.trainer:cli_main",
"thumt-translator = thumt.bin.translator:cli_main",
"thumt-scorer=thumt.bin.scorer:cli_main"
]},
scripts=[
"thumt/scripts/average_checkpoints.py",
"thumt/scripts/build_vocab.py",
"thumt/scripts/convert_checkpoint.py",
"thumt/scripts/shuffle_corpus.py"],
packages=find_packages(),
install_requires=[
"future",
"pillow",
"torch>=1.1.0",
"regex"],
classifiers=[
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence"])