forked from roy-ht/pyter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (38 loc) · 1.45 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
from setuptools import setup
import sys
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = ['distribute']
if sys.hexversion < 0x2070000:
install_requires += ['argparse']
setup(name='pyter',
version='0.2.2.1',
description='Simple library to evaluate the Translation Error Rate',
long_description=read('README.rst'),
author='Hiroyuki Tanaka',
author_email='[email protected]',
url='https://github.com/aflc/pyter',
platforms = "any",
packages=['pyter'],
entry_points=dict(console_scripts=['pyter=pyter:main']),
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Text Processing',
],
)