# -*- coding: utf-8 -*-
from setuptools import find_namespace_packages, setup

install_requires: list = [
    "ocyan.core",
    "Django>=5.2,<5.3",
    "django-oscar>=4.1,<4.2",
    "ocyan.plugin.oscar_invoices==0.3.1rc1",
    "django-compressor",
    "ocyan.plugin.oscar",
    "ocyan.plugin.oscar_shipping",
    "ocyan.plugin.oscar_order",
    "ocyan.plugin.wagtail_utils",
    "wagtail>=7.4,<8",
    "WeasyPrint",
    "django-sequences",
]

extras_require: dict = {
    "test": [
        "ocyan.plugin.testing",
        "wheel",
        "empty_testproject",
        "pylint-django",
        "ruff",
        "vdt.versionplugin.wheel",
        "coverage",
        "oxyan.themes",
    ],
    "prd": ["psycopg2"],
}

PACKAGE_CLASSIFIERS = [
    "License :: Other/Proprietary License",
    "Framework :: Ocyan",
    "Environment :: Plugins",
]

setup(
    name="ocyan.plugin.oscar_communications",
    version="2.0.4rc1",
    url="https://git.mandelblog.com/mandel-plugins/ocyan.plugin.oscar_communications",
    author="Mandel",
    author_email="info@mandelblog.com",
    description="All communications oscar does are defined in this plugin",
    packages=find_namespace_packages(include=["ocyan.*"]),
    include_package_data=True,
    python_requires=">=3.12",
    install_requires=install_requires,
    classifiers=PACKAGE_CLASSIFIERS,
    extras_require=extras_require,
)
