def cmdclass(
    values: Dict[str, str],
    package_dir: Optional[Mapping[str, str]] = None,
    root_dir: Optional[_Path] = None,
) -> Dict[str, Callable]:
    """Given a dictionary mapping command names to strings for qualified class
    names, apply :func:`resolve_class` to the dict values.
    """
    return {k: resolve_class(v, package_dir, root_dir) for k, v in values.items()}
Given a dictionary mapping command names to strings for qualified class
    names, apply :func:`resolve_class` to the dict values.
    
product/gradle-plugin/src/main/python/setuptools/config/expand.py