-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
83 lines (79 loc) · 2.36 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
"""clms.addon Installer"""
from os.path import join
from setuptools import setup, find_packages
NAME = "clms.addon"
PATH = NAME.split(".") + ["version.txt"]
with open(join(*PATH)) as version_file:
VERSION = version_file.read().strip()
with open("README.rst") as readme_file:
readme = readme_file.read()
with open(join("docs", "HISTORY.txt")) as history_file:
history = history_file.read()
# pylint: disable=R1732
VERSION = open(join(*PATH)).read().strip()
# pylint: disable=R1732
setup(
name=NAME,
version=VERSION,
description="An add-on for customization of the CLMS portal",
long_description_content_type="text/x-rst",
long_description="{}\n{}".format(
readme,
history,
),
classifiers=[
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: Addon",
"Framework :: Plone :: 6.0",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
keywords="EEA Add-ons Plone Zope",
author="European Environment Agency: CodeSyntax",
author_email="mlarreategi@codesyntax.com",
url="https://github.com/eea/clms.addon",
license="GPL version 2",
packages=find_packages(exclude=["ez_setup"]),
namespace_packages=["clms"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"setuptools",
# -*- Extra requirements: -*-
"pas.plugins.oidc",
"collective.taxonomy",
"plone.volto",
"z3c.unconfigure",
"plone.restapi",
"eea.restapi",
"collective.volto.formsupport",
"eea.meeting",
"clms.statstool",
"clms.types",
"plone.app.multilingual",
"clms.downloadtool",
"collective.relationhelpers",
"Products.mcdutils",
"z3c.jbot",
"eea.volto.policy",
],
extras_require={
"test": [
"plone.testing",
"plone.app.testing",
"plone.app.contenttypes",
"plone.app.robotframework[debug]",
"plone.restapi[test]",
"collective.MockMailHost",
"freezegun",
],
},
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)