from setuptools import find_namespace_packages, setup

PACKAGE_CLASSIFIERS = ["Framework :: Ocyan"]

install_requires: list = [
    "ocyan.core",
    "mollie-api-python>=4.0,<5.0",
    # Retained while ``ocyan.mollie.mixins`` remains a backwards-compatible
    # Oscar-facing import. New integrations use the provider modules directly.
    "Django>=5.2,<6.0",
    "django-oscar>=4.1,<5.0",
    "ocyan.plugin.oscar>=2.0.1rc1",
    "ocyan.plugin.oscar_checkout>=1.3.1rc1",
    "ocyan.plugin.oscar_communications>=2.0.3rc1",
]

extras_require: dict = {
    "test": [
        "wheel",
        "empty_testproject",
        "pylint-django",
        "isort",
        "ruff",
        "vdt.versionplugin.wheel",
        "coverage",
        "responses",
        "packaging",
    ]
}

setup(
    name="ocyan.mollie",
    version="1.2.6rc1",
    url="https://git.mandelblog.com/mandel-plugins/ocyan.mollie",
    author="Motolani Olaiya",
    author_email="motolaniolaiya@gmail.com",
    description="Shared code between mollie payment plugins",
    license="Proprietary",
    include_package_data=True,
    license_files=("COPYRIGHT",),
    packages=find_namespace_packages(include=["ocyan.*"]),
    python_requires=">=3.10",
    classifiers=PACKAGE_CLASSIFIERS,
    install_requires=install_requires,
    extras_require=extras_require,
)
