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

install_requires: list = [
    "ocyan.core>=1.2.9rc1,<2",
    "ocyan.main>=2.0.2rc1,<3",
    "django-oscar>=4.1,<4.2",
    "pycountry",
]

extras_require: dict = {
    "test": [
        "wheel",
        "empty_testproject",
        "pylint-django",
        "isort",
        "ruff",
        "vdt.versionplugin.wheel",
        "coverage",
        "ocyan.plugin.testing",
        "ocyan.plugin.oscar_checkout",
        "ocyan.plugin.oscar_catalogue",
        "ocyan.plugin.oscar_partner",
        "ocyan.plugin.oscar_paid_product_options",
        "ocyan.plugin.oscar_shipping",
        "ocyan.plugin.wagtail_oscar_integration",
        "oxyan.themes",
    ]
}

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

setup(
    name="ocyan.plugin.oscar",
    version="2.0.1rc1",
    url="https://git.mandelblog.com/mandel-plugins/ocyan.plugin.oscar",
    author="Mandel",
    author_email="info@mandelblog.com",
    description="This plugin installs and configures oscar e-commerce.",
    packages=find_namespace_packages(include=["ocyan.*"]),
    include_package_data=True,
    python_requires=">=3.6",
    install_requires=install_requires,
    extras_require=extras_require,
    classifiers=PACKAGE_CLASSIFIERS,
)
