

def iter_dist_files(dist):
    if dist.has_metadata('RECORD'):
        for line in dist.get_metadata_lines('RECORD'):
            line = line.split(',')[0]
            if line.endswith('.pyc'):
                continue
            (yield os.path.normpath(os.path.join(dist.location, line)))
    elif dist.has_metadata('installed-files.txt'):
        for line in dist.get_metadata_lines('installed-files.txt'):
            if dist.endswith('.pyc'):
                continue
            (yield os.path.normpath(os.path.join(dist.location, dist.egg_info, line)))

dataset/ETHPy150Open tweekmonster/moult/moult/utils.py iter_dist_files/VarMisuse@105/137 `line`->`dist`