-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·78 lines (73 loc) · 2.8 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
##############################################################################
#
# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Setup for zojax.formatter package
$Id$
"""
import sys, os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '1.4.2'
setup(name='zojax.formatter',
version=version,
description="Extensible TALES fomratter expression.",
long_description=(
'Detailed Dcoumentation\n' +
'======================\n'
+ '\n\n' +
read('src', 'zojax', 'formatter', 'README.txt')
+ '\n\n' +
read('CHANGES.txt')
),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3'],
author='Nikolay Kim',
author_email='[email protected]',
url='http://zojax.net/',
license='ZPL 2.1',
package_dir = {'':'src'},
packages=find_packages('src'),
namespace_packages=['zojax'],
install_requires = ['setuptools',
'pytz',
'zope.component',
'zope.interface',
'zope.publisher',
'zope.schema',
'zope.proxy',
'zope.tales',
'zope.i18n',
'zope.i18nmessageid',
'zope.app.appsetup',
'zope.app.pagetemplate',
'zope.app.publisher',
'z3c.pt',
'zojax.jquery.i18n',
],
extras_require = dict(test=['zope.app.testing',
'zope.testing',
'zojax.controlpanel [test]',
'zojax.pageelement [test]',
]),
include_package_data = True,
zip_safe = False
)