-
Notifications
You must be signed in to change notification settings - Fork 46
/
setup.py
97 lines (91 loc) · 3.12 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
import sys
from setuptools import find_packages, setup
version = "9.3.1.dev0"
assert sys.version_info >= (
3,
6,
0,
), "collective.solr 9 requires Python 3.8.0+. Please downgrade to collective.solr 8 for Python 2 and Plone 4.3/5.1."
long_description = "\n\n".join([open("README.rst").read(), open("CHANGES.rst").read()])
setup(
name="collective.solr",
version=version,
description="Solr integration for external indexing and searching.",
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 5.2",
"Framework :: Plone :: 6.0",
"Framework :: Plone :: Addon",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
keywords="plone cmf zope indexing searching solr lucene",
author="Plone Community",
author_email="[email protected]",
maintainer="Timo Stollenwerk",
maintainer_email="[email protected]",
url="https://github.com/collective/collective.solr",
license="GPL version 2",
packages=find_packages("src"),
package_dir={"": "src"},
namespace_packages=["collective"],
include_package_data=True,
platforms="Any",
zip_safe=False,
install_requires=[
"Acquisition",
"DateTime",
"Products.CMFCore",
"Products.CMFPlone >= 4.3.7",
"Products.GenericSetup",
"Products.ZCatalog",
"lxml",
"plone.app.content",
"plone.app.layout",
"plone.app.registry",
"plone.app.vocabularies",
"plone.api",
"plone.browserlayer",
"plone.indexer",
"plone.restapi",
"requests-toolbelt",
"setuptools",
"transaction",
"zope.component",
"zope.i18nmessageid",
"zope.interface",
"zope.publisher",
"zope.schema",
],
extras_require={
"test": ["plone.app.testing[robot]", "plone.app.robotframework[debug]"],
"test4": [
"Products.LinguaPlone >=3.1a1",
"plone.app.robotframework[debug]",
"plone.app.testing[robot]",
],
},
entry_points="""
[z3c.autoinclude.plugin]
target=plone
[zopectl.command]
solr_activate=collective.solr.commands:solr_activate
solr_deactivate=collective.solr.commands:solr_deactivate
solr_clear_index=collective.solr.commands:solr_clear_index
solr_clear=collective.solr.commands:solr_clear_index
solr_reindex=collective.solr.commands:solr_reindex
solr_cleanup=collective.solr.commands:solr_cleanup
solr_sync=collective.solr.commands:solr_sync
""",
)