def get_source_package_infos(fname):
    """Return a tuple (name, version) of the Python source package"""
    match = re.match(SOURCE_PATTERN, osp.basename(fname))
    if match is not None:
        return match.groups()[:2]
dataset/ETHPy150Open winpython/winpython/winpython/utils.py/get_source_package_infos/original