def get_data_files():
    # generate man pages using rst2man
    try:
        subprocess.call(["rst2man", "nipapd.man.rst", "nipapd.8"])
        subprocess.call(["rst2man", "nipap-passwd.man.rst", "nipap-passwd.1"])
    except __HOLE__ as exc:
        print >> sys.stderr, "rst2man failed to run:", str(exc)
        sys.exit(1)

    files = [
            ('/etc/nipap/', ['nipap.conf.dist']),
            ('/usr/sbin/', ['nipapd', 'nipap-passwd']),
            ('/usr/share/nipap/sql/', [
                'sql/upgrade-1-2.plsql',
                'sql/upgrade-2-3.plsql',
                'sql/upgrade-3-4.plsql',
                'sql/upgrade-4-5.plsql',
                'sql/upgrade-5-6.plsql',
                'sql/functions.plsql',
                'sql/triggers.plsql',
                'sql/ip_net.plsql'
                ]),
            ('/usr/share/man/man8/', ['nipapd.8']),
            ('/usr/share/man/man1/', ['nipap-passwd.1'])
        ]

    return files
dataset/ETHPy150Open SpriteLink/NIPAP/nipap/setup.py/get_data_files