Skip to content
jaimergp edited this page Aug 21, 2023 · 3 revisions

NOTE:

This wiki is not maintained anymore and its content is out of date. Please check the latest documentation at https://conda.github.io/menuinst/

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).