-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
76 lines (67 loc) · 2.29 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
import os
from setuptools import find_packages
from setuptools import setup
NAME = 'GenericSetup'
URL = 'https://github.com/zopefoundation/Products.%s' % NAME
here = os.path.abspath(os.path.dirname(__file__))
package = os.path.join(here, 'src', 'Products', NAME)
docs = os.path.join(here, 'docs')
with open('README.rst') as f:
README = f.read()
with open('CHANGES.rst') as f:
CHANGES = f.read()
_BOUNDARY = '\n' + ('-' * 60) + '\n\n'
setup(
name='Products.GenericSetup',
version='4.0.1.dev0',
description='Read Zope configuration state from profile dirs / tarballs',
long_description=README + _BOUNDARY + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Plone :: 5.2",
"Framework :: Plone :: 6.0",
"Framework :: Zope :: 5",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python",
"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 :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: System :: Archiving :: Packaging",
"Topic :: System :: Installation/Setup",
],
keywords='web application server zope zope4 cmf',
author="Zope Foundation and Contributors",
author_email="[email protected]",
url=URL,
project_urls={
'Documentation': 'https://productsgenericsetup.readthedocs.io',
'Source code': URL,
'Issue tracker': '%s/issues' % URL,
},
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 >= 4.0b4',
'five.localsitemanager',
'Products.PythonScripts',
'Products.ZCatalog',
],
extras_require=dict(
docs=['Sphinx', 'repoze.sphinx.autointerface'],
),
entry_points="""
[zope2.initialize]
Products.GenericSetup = Products.GenericSetup:initialize
""",
)