-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
86 lines (81 loc) · 3.01 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
"""Installer for the collective.contactformprotection package."""
from setuptools import find_packages
from setuptools import setup
long_description = "\n\n".join(
[
open("README.rst").read(),
open("CONTRIBUTORS.rst").read(),
open("CHANGES.rst").read(),
]
)
setup(
name="collective.contactformprotection",
version="1.0.1.dev0",
description="This package protects the default contact form of Plone which is generally accessible via /contact-form. It provides a checkbox in the controlpanel to disable it globally and adds a (H/Re)captcha field depending on your installation.",
long_description=long_description,
# Get more from https://pypi.org/classifiers/
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: Addon",
"Framework :: Plone :: 6.0",
"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",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
keywords="Python Plone CMS",
author="Peter Mathis",
author_email="[email protected]",
url="https://github.com/collective/collective.contactformprotection",
project_urls={
"PyPI": "https://pypi.org/project/collective.contactformprotection/",
"Source": "https://github.com/collective/collective.contactformprotection",
"Tracker": "https://github.com/collective/collective.contactformprotection/issues",
# 'Documentation': 'https://collective.contactformprotection.readthedocs.io/en/latest/',
},
license="GPL version 3",
packages=find_packages("src", exclude=["ez_setup"]),
namespace_packages=["collective"],
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"setuptools",
# -*- Extra requirements: -*-
"Products.CMFPlone",
"plone.api>=1.8.4",
"plone.app.dexterity",
"plone.app.registry",
"z3c.form",
],
extras_require={
"recaptcha": [
"plone.formwidget.recaptcha",
],
"hcaptcha": [
"plone.formwidget.hcaptcha",
],
"test": [
"plone.app.testing",
# Plone KGS does not use this version, because it would break
# Remove if your package shall be part of coredev.
# plone_coredev tests as of 2016-04-01.
"plone.testing>=5.0.0",
"plone.app.contenttypes",
"plone.app.robotframework[debug]",
"plone.formwidget.recaptcha",
"plone.formwidget.hcaptcha",
],
},
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)