The conda plugin

The conda plugin is useful, primarily, for Python parts using the Conda open source package management system with the Conda snap.

This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.

Additional features and syntax are dependent on which base is being used, as outlined below:

For examples, search GitHub for projects already using the plugin.

This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.

base: core20

The conda plugin has been ported to core20. These are the available plugin options:

  • conda-packages (list of strings)
    List of conda packages to install.
  • conda-python-version (string)
    The Python version to use for the conda packages.
    Python version major and minor version (e.g. 3.8).
  • conda-miniconda-version (string)
    The version of Miniconda to bootstrap.
    Defaults to the latest release.

Requires Snapcraft version 4.6 .

base: core18 | core

This plugin uses the following plugin-specific keywords:

  • conda-packages (list of strings)
    List of conda packages to install.
  • conda-python-version (string)
    The Python version to use for the conda packages.
    Defaults to the latest supported by Miniconda.
  • conda-miniconda-version (string)
    The version of Miniconda to bootstrap.
    Defaults to the latest release.

Last updated 4 months ago.