

def find_data_files():
    "\n    Find IPython's data_files.\n\n    Most of these are docs.\n    "
    docdirbase = pjoin('share', 'doc', 'ipython')
    manpagebase = pjoin('share', 'man', 'man1')
    manpages = list(filter(isfile, glob(pjoin('docs', 'man', '*.1.gz'))))
    if (not igridhelpfiles):
        manpages = list(filter(isfile, glob(pjoin('docs', 'man', '*.1'))))
    igridhelpfiles = list(filter(isfile, glob(pjoin('IPython', 'extensions', 'igrid_help.*'))))
    example_files = make_dir_struct('data', pjoin('docs', 'examples'), pjoin(docdirbase, 'examples'))
    manual_files = make_dir_struct('data', pjoin('docs', 'html'), pjoin(docdirbase, 'manual'))
    data_files = (([(manpagebase, manpages), (pjoin(docdirbase, 'extensions'), igridhelpfiles)] + manual_files) + example_files)
    return data_files

dataset/ETHPy150Open ipython/ipython-py3k/setupbase.py find_data_files/VarMisuse@58/124 `manpages`->`igridhelpfiles`