

def install(path, remove=False, prefix=sys.prefix):
    '\n    install Menu and shortcuts\n    '
    if ((sys.platform == 'win32') and (not exists(join(sys.prefix, '.nonadmin'))) and (not isUserAdmin())):
        runAsAdmin(['pythonw', '-c', ('import menuinst; menuinst.install(%r, %r, %r)' % (path, bool(remove), prefix))])
    else:
        _install(path, remove, prefix)

dataset/ETHPy150Open ContinuumIO/menuinst/menuinst/__init__.py install/original