(bdist_dir: str)
return info_dirs[0]
Get the .dist-info directory from an unpacked wheel

    Parameters
    ----------
    bdist_dir : str
        Path of unpacked wheel file
Get the .dist-info directory from an unpacked wheel
Get the . dist - info directory from an unpacked wheel
def _dist_info_dir(bdist_dir: str) -> str:
    """Get the .dist-info directory from an unpacked wheel

    Parameters
    ----------
    bdist_dir : str
        Path of unpacked wheel file
    """

    info_dirs = glob.glob(pjoin(bdist_dir, "*.dist-info"))
    if len(info_dirs) != 1:
        raise WheelToolsError("Should be exactly one `*.dist_info` directory")
    return info_dirs[0]
def _dist_info_dir ( bdist_dir : str ) -> str : info_dirs = glob . glob ( pjoin ( bdist_dir , "*.dist-info" ) ) if len ( info_dirs ) != 1 : raise WheelToolsError ( "Should be exactly one `*.dist_info` directory" ) return info_dirs [ 0 ]