# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
    from attr import (
    NOTHING,
    Attribute,
    Factory,
    __author__,
    __copyright__,
    __description__,
    __doc__,
    __email__,
    __license__,
    __title__,
    __url__,
    __version__,
    __version_info__,
    assoc,
    cmp_using,
    define,
    evolve,
    field,
    fields,
    fields_dict,
    frozen,
    has,
    make_class,
    mutable,
    resolve_types,
    validate,
)  # vendor:skip
else:
    from pex.third_party.attr import (
    NOTHING,
    Attribute,
    Factory,
    __author__,
    __copyright__,
    __description__,
    __doc__,
    __email__,
    __license__,
    __title__,
    __url__,
    __version__,
    __version_info__,
    assoc,
    cmp_using,
    define,
    evolve,
    field,
    fields,
    fields_dict,
    frozen,
    has,
    make_class,
    mutable,
    resolve_types,
    validate,
)

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
    from attr._next_gen import asdict, astuple  # vendor:skip
else:
    from pex.third_party.attr._next_gen import asdict, astuple


from . import converters, exceptions, filters, setters, validators


__all__ = [
    "__author__",
    "__copyright__",
    "__description__",
    "__doc__",
    "__email__",
    "__license__",
    "__title__",
    "__url__",
    "__version__",
    "__version_info__",
    "asdict",
    "assoc",
    "astuple",
    "Attribute",
    "cmp_using",
    "converters",
    "define",
    "evolve",
    "exceptions",
    "Factory",
    "field",
    "fields_dict",
    "fields",
    "filters",
    "frozen",
    "has",
    "make_class",
    "mutable",
    "NOTHING",
    "resolve_types",
    "setters",
    "validate",
    "validators",
]
