class documentation

class _EnsurePackagesDiscovered(_expand.EnsurePackagesDiscovered): (source)

View In Hierarchy

Undocumented

Method __enter__ When entering the context, the values of ``packages``, ``py_modules`` and ``package_dir`` that are missing in ``dist`` are copied from ``setuptools_cfg``.
Method __exit__ When exiting the context, if values of ``packages``, ``py_modules`` and ``package_dir`` are missing in ``setuptools_cfg``, copy from ``dist``.
Method __init__ Undocumented
Instance Variable _project_cfg Undocumented
Instance Variable _setuptools_cfg Undocumented

Inherited from EnsurePackagesDiscovered:

Method __call__ Trigger the automatic package discovery, if it is still necessary.
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 __enter__(self): (source)

When entering the context, the values of ``packages``, ``py_modules`` and ``package_dir`` that are missing in ``dist`` are copied from ``setuptools_cfg``.

def __exit__(self, exc_type, exc_value, traceback): (source)

When exiting the context, if values of ``packages``, ``py_modules`` and ``package_dir`` are missing in ``setuptools_cfg``, copy from ``dist``.

def __init__(self, distribution: Distribution, project_cfg: dict, setuptools_cfg: dict): (source)
_project_cfg = (source)

Undocumented

_setuptools_cfg = (source)

Undocumented