from setuptools import setup


version = "6.0.0a1"

setup(
    name="plone.app.widgets",
    version=version,
    description="better plone widgets",
    long_description="{}\n{}".format(
        open("README.rst").read(),
        open("CHANGES.rst").read(),
    ),
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Framework :: Plone",
        "Framework :: Plone :: 6.2",
        "License :: OSI Approved :: GNU General Public License (GPL)",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
    ],
    keywords="plone widgets z3cform",
    author="Nathan Van Gheem",
    author_email="vangheem@gmail.com",
    url="https://github.com/plone/plone.app.widgets",
    license="GPL",
    include_package_data=True,
    zip_safe=False,
    python_requires=">=3.10",
    install_requires=[
        "setuptools",
        # needed because users vocabulary was added here
        "plone.app.vocabularies>=2.1.12",
        "plone.base",
    ],
    extras_require={
        "test": [
            "plone.app.robotframework[debug]",
            "plone.app.testing>=4.2.4",  # we need ROBOT_TEST_LEVEL
            "mock",
        ],
        "dexterity": [
            "pytz",
            "plone.app.dexterity",
            "plone.app.contenttypes>=1.1",
            "plone.app.event>=1.2",
        ],
    },
)
