-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·79 lines (74 loc) · 2.96 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
79
##############################################################################
#
# 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.widget.captcha 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='0'
setup(name='zojax.widget.captcha',
version=version,
description="Captcha field and widget for zojax.",
long_description=(
'Detailed Documentation\n' +
'======================\n'
+ '\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='Anatoly Bubenkov',
author_email='[email protected]',
url='http://zojax.net/',
license='ZPL 2.1',
packages=find_packages('src'),
package_dir = {'':'src'},
namespace_packages=['zojax','zojax.widget'],
install_requires = ['setuptools',
'lxml',
'zope.i18n',
'zope.i18nmessageid',
'zope.app.file',
'zojax.resource',
'zojax.resourcepackage',
'zojax.skintool',
'zojax.pageelement',
'zojax.formatter',
'simplejson',
'zojax.language',
],
extras_require = dict(test=['zope.app.testing',
'zope.app.zcmlfiles',
'zope.testing',
'zope.testbrowser',
'zope.securitypolicy',
'zojax.security',
'zojax.autoinclude',
'zojax.content.type',
'zojax.content.forms',
'zojax.persistent.fields',
]),
include_package_data = True,
zip_safe = False
)