-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
84 lines (75 loc) · 2.78 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
import os
from setuptools import find_packages
from setuptools import setup
NAME = 'CMFCore'
here = os.path.abspath(os.path.dirname(__file__))
def _package_doc(name):
f = open(os.path.join(here, name))
return f.read()
_boundary = '\n' + ('-' * 60) + '\n\n'
README = _boundary.join([
_package_doc('README.rst'),
_package_doc('CHANGES.rst'),
])
setup(name='Products.%s' % NAME,
version='3.7.dev0',
description='Zope Content Management Framework core components',
long_description=README,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Plone',
'Framework :: Zope :: 5',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries'
' :: Application Frameworks',
],
keywords='web application server zope cmf',
author='Zope Foundation and Contributors',
author_email='[email protected]',
url='https://github.com/zopefoundation/Products.CMFCore',
project_urls={
'Documentation': 'https://zope.readthedocs.io',
'Issue Tracker': ('https://github.com/zopefoundation/'
'Products.CMFCore/issues'),
'Sources': 'https://github.com/zopefoundation/Products.CMFCore',
},
license='ZPL 2.1',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
namespace_packages=['Products'],
zip_safe=False,
python_requires='>=3.8',
install_requires=[
'setuptools',
'Zope >= 5',
'docutils > 0.15',
'five.localsitemanager',
'Products.BTreeFolder2',
'Products.GenericSetup >= 2.1.2',
'Products.MailHost >= 4.0',
'Products.PythonScripts',
'Products.StandardCacheManagers',
'Products.ZCatalog >= 4.0a2', # Products.ZCTextIndex lives there now
'zope.datetime',
'zope.interface >= 3.8',
],
extras_require={
'test': ['Products.StandardCacheManagers'],
'zsql': ['Products.ZSQLMethods >= 3.0.0b1'],
'docs': ['Sphinx', 'repoze.sphinx.autointerface', 'pkginfo'],
},
entry_points="""
[zope2.initialize]
Products.{} = Products.{}:initialize
""".format(NAME, NAME),
)