Florenz A. P. Hollebrandse edited this page Oct 9, 2015 · 2 revisions

General Approach

  1. Create a json config file specifying the menu and shortcuts, see Menu Shortcut Config Structure.
  2. Call menuinst.install('path/to/menu.json', prefix='path/to/python/env') to install the menu items (Windows, Linux and OSX).
  3. menuinst.install('..', prefix='..', remove=True) will uninstall the menu.

Conda-specific Approach

  1. As part of building a conda package, save menu config files in the folder %PREFIX%/Menu.
  2. conda install will find the menu config files and process these (currently restricted to conda root-environments only).