def make_menu(prefix, file_path, remove=False):
 if (not on_win):
  return
 elif basename(prefix).startswith(u'_'):
  log.warn(u"Environment name starts with underscore '_'. Skipping menu installation.")
  return
 import menuinst
 try:
  menuinst.install(join(prefix, win_path_ok(file_path)), remove, prefix)
 except:
  stdoutlog.error(u'menuinst Exception:')
  stdoutlog.error(traceback.format_exc())

def make_menu ( prefix , file_path , remove = False ) : if ( not on_win ) : return elif basename ( prefix ) . startswith ( u'_' ) : log . warn ( u"Environment name starts with underscore '_'. Skipping menu installation." ) return import menuinst try : menuinst . install ( join ( prefix , win_path_ok ( file_path ) ) , remove , prefix ) except : stdoutlog . error ( u'menuinst Exception:' ) stdoutlog . error ( traceback . format_exc ( ) )
create cross-platform menu items passes all menu config files %prefix%/menu/* .