/
setup.py
136 lines (130 loc) · 4.15 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
##############################################################################
#
# Copyright (c) 2007 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.
#
##############################################################################
import os
import sys
from setuptools import setup, find_packages
additional_install_requires = []
if sys.platform[:3].lower() == "win":
additional_install_requires += ['nt_svcutils']
setup(
name='Zope2',
version='2.13.31.dev0',
url='https://zope.readthedocs.io/en/2.13/',
license='ZPL 2.1',
description='Zope2 application server / web framework',
author='Zope Foundation and Contributors',
author_email='zope-dev@zope.org',
long_description=(open("README.txt").read() + "\n" +
open(os.path.join("doc", "CHANGES.rst")).read()),
classifiers=[
'Development Status :: 6 - Mature',
"Environment :: Web Environment",
"Framework :: Zope2",
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2 :: Only",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
],
packages=find_packages('src'),
namespace_packages=['Products', 'Shared', 'Shared.DC'],
package_dir={'': 'src'},
install_requires=[
'AccessControl >= 2.13.16',
'Acquisition',
'DateTime',
'DocumentTemplate',
'ExtensionClass',
'Missing',
'MultiMapping',
'Persistence',
'Products.OFSP >= 2.13.2', # folded back into Zope 4.0
'RestrictedPython',
'ZConfig',
'ZODB3',
'ZopeUndo',
'docutils',
'pytz',
'setuptools',
'tempstorage',
'transaction',
'zdaemon',
'zExceptions',
'zLOG',
'zope.browser',
'zope.browsermenu',
'zope.browserpage',
'zope.browserresource',
'zope.component',
'zope.configuration',
'zope.container',
'zope.contentprovider',
'zope.contenttype',
'zope.deferredimport',
'zope.event',
'zope.exceptions',
'zope.i18n [zcml]',
'zope.i18nmessageid',
'zope.interface',
'zope.lifecycleevent',
'zope.location',
'zope.pagetemplate',
'zope.processlifetime',
'zope.proxy',
'zope.ptresource',
'zope.publisher',
'zope.schema',
'zope.security',
'zope.sendmail',
'zope.sequencesort',
'zope.site',
'zope.size',
'zope.structuredtext',
'zope.tal',
'zope.tales >= 3.5.0',
'zope.testbrowser',
'zope.testing',
'zope.traversing',
'zope.viewlet',
# BBB optional dependencies to be removed in Zope 4.0
'initgroups',
'Products.BTreeFolder2',
'Products.ExternalMethod',
'Products.MailHost',
'Products.MIMETools',
'Products.PythonScripts',
'Products.Sessions',
'Products.StandardCacheManagers',
'Products.TemporaryFolder',
'Products.ZCatalog',
'Products.ZCTextIndex',
'Record',
'ZServer',
] + additional_install_requires,
include_package_data=True,
zip_safe=False,
entry_points={
'paste.app_factory': [
'main=Zope2.Startup.run:make_wsgi_app',
],
'console_scripts': [
'mkzopeinstance=Zope2.utilities.mkzopeinstance:main',
'runzope=Zope2.Startup.run:run',
'zopectl=Zope2.Startup.zopectl:run',
'zpasswd=Zope2.utilities.zpasswd:main',
'addzope2user=Zope2.utilities.adduser:main',
],
},
)