forked from hannosch/python-gettext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (45 loc) · 1.64 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
import os.path
import sys
from setuptools import setup
version = '3.1.dev'
install_requires = []
if sys.version_info < (2, 7):
install_requires = ['unittest2']
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except IOError:
README = CHANGES = ''
setup(
name='python-gettext',
version=version,
description="Python Gettext po to mo file compiler.",
long_description=README + '\n\n' + CHANGES,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Internationalization',
'Topic :: Software Development :: Localization',
],
keywords='Python Gettext Msgctxt',
author='Hanno Schlichting',
author_email='[email protected]',
url='http://pypi.python.org/pypi/python-gettext',
license='BSD',
packages=['pythongettext', 'pythongettext.tests'],
install_requires=install_requires,
include_package_data=True,
zip_safe=False,
test_suite="pythongettext.tests",
)