def get_data_files():

    # This is a bloody hack to circumvent a lack of feature with Python distutils.
    # Files specified in the data_files list cannot be renamed upon installation
    # and we don't want to keep two copies of the .nipaprc file in git
    import shutil
    shutil.copyfile('nipaprc', '.nipaprc')

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

    files = [
            ('/etc/skel/', ['.nipaprc']),
            ('/usr/bin/', ['helper-nipap', 'nipap']),
            ('/usr/share/doc/nipap-cli/', ['bash_complete', 'nipaprc']),
            ('/usr/share/man/man1/', ['nipap.1'])
        ]

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