forked from collective/i18ndude
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (59 loc) · 1.91 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
62
63
64
import os
import sys
from setuptools import setup, find_packages
version = '4.1.1.dev0'
install_requires = [
'zope.tal >= 3.5.2',
'zope.interface >= 3.3',
'zope.i18nmessageid >= 3.3',
'plone.i18n',
'ordereddict',
'lxml',
]
if sys.version_info < (2, 7):
# Python 2.7 contains argparse. For earlier versions we need to
# add it as a dependency.
install_requires.append('argparse')
setup(
name='i18ndude',
version=version,
description="i18ndude performs various tasks related to ZPT's, Python "
"Scripts and i18n.",
long_description=(open("README.rst").read() + "\n" +
open(os.path.join("docs", "command.rst")).read() + "\n" +
open("CHANGES.rst").read()),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Plone',
'Framework :: Zope2',
'Framework :: Zope3',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
],
keywords='Plone i18n zpt',
author='Daniel Nouri',
author_email='plone-i18n@lists.sourceforge.net',
maintainer='Vincent Fretin',
maintainer_email='vincent.fretin@gmail.com',
url='https://github.com/collective/i18ndude',
license='GPL',
package_dir={'': 'src'},
packages=find_packages('src', exclude=['ez_setup']),
include_package_data=True,
zip_safe=False,
test_suite='i18ndude.tests',
install_requires=install_requires,
entry_points={
'console_scripts': [
'i18ndude=i18ndude.script:main',
],
# Documentation generation
'zest.releaser.prereleaser.before': [
'i18ndude_cli = i18ndude.utils:prepare_cli_documentation',
],
},
)