The conda plugin
The conda
plugin is useful, primarily, for Python parts using the Conda open source package management system.
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: core22
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. Python version major and minor version (e.g. 3.9). -
conda-miniconda-version
(string, default: latest) The version of Miniconda to bootstrap. Defaults to the latest release.
Requires Snapcraft version 7.0+ .
base: core20
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. Python version major and minor version (e.g. 3.9). -
conda-miniconda-version
(string, default: latest) 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 7 days ago.