-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (46 loc) · 1.76 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import nmtlab
import sys, os
if sys.version_info[:2] < (3, 0):
raise Exception('This version needs Python 3 or later. ')
from setuptools import setup, find_packages
requirements = ["numpy", "torch", "sacrebleu"]
setup(
name='nmtlab',
version=nmtlab.__version__,
description='A simple framework for neural machine translation based on PyTorch',
author='Raphael Shu',
author_email='[email protected]',
url='https://github.com/zomux/nmtlab',
download_url='http://pypi.python.org/pypi/nmtlab',
keywords=' Deep learning '
' Neural network '
' Natural language processing '
' Machine Translation ',
license='MIT',
platforms='any',
packages=list(filter(lambda s: "private" not in s, find_packages())),
classifiers=[ # from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
],
setup_requires = requirements,
install_requires=requirements,
extras_require={
},
include_package_data=True,
)