-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
51 lines (44 loc) · 1.24 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
'''Setup script for goslate
'''
import os
import sys
import goslate as module
__author__ = 'ZHUO Qiang'
__date__ = '2013-05-14'
import os
from setuptools import setup
# Python 2
if sys.version_info[0] == 2:
requires = ['futures']
# Python 3
else:
requires = []
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = module.__name__,
version = module.__version__,
author = module.__author__,
author_email = module.__email__,
description = module.__doc__,
license = module.__license__,
keywords = "google translation i18n l10n",
url = module.__download__,
packages=[],
py_modules=['goslate'],
long_description=read('README.rst'),
install_requires=requires,
test_suite='test_goslate',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Internationalization',
'Topic :: Software Development :: Localization',
'Topic :: Text Processing :: Linguistic',
],
)