-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
108 lines (100 loc) · 3.18 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
from setuptools import find_packages
from setuptools import setup
import os
import os.path
version = "9.0.4.dev0"
install_requires = [
"setuptools",
"zope.testing >= 3.8",
]
tests_require = [
"WebTest",
"Zope",
"zope.testbrowser",
"zope.testrunner",
]
zope_requires = (
[
"WebTest",
"Zope",
"zope.testbrowser",
],
)
setup(
name="plone.testing",
version=version,
description="Testing infrastructure for Zope and Plone projects.",
long_description=(
"\n\n".join(
[
open(os.path.join("src", "plone", "testing", "README.rst")).read(),
open("CHANGES.rst").read(),
"Detailed documentation\n" + "======================",
open(os.path.join("src", "plone", "testing", "layer.rst")).read(),
open(os.path.join("src", "plone", "testing", "zca.rst")).read(),
open(os.path.join("src", "plone", "testing", "security.rst")).read(),
open(os.path.join("src", "plone", "testing", "publisher.rst")).read(),
open(os.path.join("src", "plone", "testing", "zodb.rst")).read(),
open(os.path.join("src", "plone", "testing", "zope.rst")).read(),
open(os.path.join("src", "plone", "testing", "zserver.rst")).read(),
]
)
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 6.0",
"Framework :: Plone :: Core",
"Framework :: Zope :: 5",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"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 :: Implementation :: CPython",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Testing",
],
keywords="plone zope testing",
author="Plone Foundation",
author_email="[email protected]",
url="https://github.com/plone/plone.testing",
license="BSD",
packages=find_packages("src"),
package_dir={"": "src"},
namespace_packages=["plone"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=install_requires,
extras_require={
"test": tests_require,
"zodb": ["ZODB"],
"zca": [
"zope.component",
"zope.configuration",
"zope.event",
],
"security": [
"zope.security",
],
"publisher": [
"zope.browsermenu",
"zope.browserpage",
"zope.browserresource",
"zope.configuration",
"zope.publisher",
"zope.security",
],
"z2": [], # BBB
"zope": zope_requires,
"zserver": [
"ZServer",
],
},
)