class documentation

Some expand functions require all the packages to already be discovered before they run, e.g. :func:`read_attr`, :func:`resolve_class`, :func:`cmdclass`. Therefore in some cases we will need to run autodiscovery during the evaluation of the configuration. However, it is better to postpone calling package discovery as much as possible, because some parameters can influence it (e.g. ``package_dir``), and those might not have been processed yet.

Method __call__ Trigger the automatic package discovery, if it is still necessary.
Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Property package_dir Proxy to ``package_dir`` that may trigger auto-discovery when used.
Method _get_package_dir Undocumented
Instance Variable _called Undocumented
Instance Variable _dist Undocumented
def __call__(self): (source)

Trigger the automatic package discovery, if it is still necessary.

def __exit__(self, _exc_type, _exc_value, _traceback): (source)
def __init__(self, distribution: Distribution): (source)

Proxy to ``package_dir`` that may trigger auto-discovery when used.

def _get_package_dir(self) -> Mapping[str, str]: (source)

Undocumented

Undocumented

Undocumented