# -*- coding: utf-8 -*-

__all__ = ["OcyanShippingPluginConfig"]


def __getattr__(name):
    if name != "OcyanShippingPluginConfig":
        raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

    from ocyan.plugin.oscar.info import OSCAR_NEEDS_OXYAN

    if OSCAR_NEEDS_OXYAN:
        from .entrypoint import OxyanShippingPluginConfig as OcyanShippingPluginConfig
    else:
        from .entrypoint import OcyanShippingPluginConfig

    return OcyanShippingPluginConfig
