Files
aufbau2csv/venv3_12/Lib/site-packages/cx_Freeze/hooks/anyio.py

17 lines
477 B
Python

"""A collection of functions which are triggered automatically by finder when
anyio package is included.
"""
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from cx_Freeze.finder import ModuleFinder
from cx_Freeze.module import Module
def load_anyio(finder: ModuleFinder, module: Module) -> None: # noqa: ARG001
"""The anyio must include backends."""
finder.include_module("anyio._backends._asyncio")