from setuptools import find_packages
from setuptools import setup


version = "4.0.4.dev0"

setup(
    name="plone.portlet.collection",
    version=version,
    description="A portlet that fetches results from a collection",
    long_description=open("README.rst").read() + "\n" + open("CHANGES.rst").read(),
    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="collection portlet",
    author="Plone Foundation",
    author_email="plone-developers@lists.sourceforge.net",
    url="https://pypi.org/project/plone.portlet.collection/",
    license="GPL version 2",
    packages=find_packages(),
    namespace_packages=["plone", "plone.portlet"],
    include_package_data=True,
    zip_safe=False,
    python_requires=">=3.8",
    install_requires=[
        "setuptools",
        "ExtensionClass",
        "plone.base",
        "plone.memoize",
        "plone.portlets",
        "plone.app.portlets",
        "plone.app.vocabularies",
        "Products.GenericSetup",
        "Products.MimetypesRegistry",
        "plone.app.querystring",
        "plone.app.uuid",
        "plone.app.z3cform",
        "plone.autoform",
        "plone.i18n",
        "plone.registry",
    ],
    extras_require={
        "test": [
            "lxml",
            "plone.testing",
            "plone.app.testing",
            "plone.app.contenttypes[test]",
        ],
    },
)
