forked from zopefoundation/plone.z3cform
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (61 loc) · 1.95 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
from pathlib import Path
from setuptools import find_packages
from setuptools import setup
__version__ = "2.0.5.dev0"
def read(path):
with open(path) as file_handle:
return file_handle.read()
def description():
base_path = Path(".") / "src" / "plone" / "z3cform"
return (
read("README.rst")
+ "\n"
+ read(base_path / "fieldsets" / "README.rst")
+ "\n"
+ read(base_path / "crud" / "README.txt")
+ "\n"
+ read("CHANGES.rst")
+ "\n"
)
setup(
name="plone.z3cform",
version=__version__,
description="plone.z3cform is a library that allows use of z3c.form "
"with Zope and the CMF.",
long_description=description(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 6.0",
"Framework :: Plone :: Core",
"Framework :: Zope :: 5",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"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",
],
keywords="Plone CMF Python Zope CMS Webapplication",
author="Plone Foundation",
author_email="[email protected]",
url="https://github.com/plone/plone.z3cform",
license="GPL version 2",
packages=find_packages("src"),
package_dir={"": "src"},
namespace_packages=["plone"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"setuptools",
"plone.batching",
"z3c.form>=4.0",
"zope.browserpage",
"zope.pagetemplate",
"Zope",
],
extras_require={"test": ["persistent", "plone.testing", "zope.annotation"]},
)