Package: birdhousebuilder.recipe.conda
Introductionbirdhousebuilder.recipe.condais aBuildoutrecipe to installAnacondapackages. This recipe is used by theBirdhouseproject.UsageThe recipe requires that Anaconda is already installed. You can use the buildout optionanaconda-hometo set the prefix for the anaconda installation. You can also use the recipe optionprefixto set the conda prefix. Otherwise the environment variableCONDA_PREFIX(variable is set when activating a conda environment) is used as conda prefix.Supported optionsThis recipe supports the following options:anaconda-homeBuildout option pointing to the root folder of the Anaconda installation. Default:$HOME/anaconda.conda-channelsBuildout option (optional) with channels of conda packages. Default: defaultsconda-offlineBuildout option (optional) to set conda offline mode. It has no effect when buildout is already in offline mode. Default: falsechannel-priorityBuildout option (optional) to set channel priority in conda install. Default: trueprefixPath to the conda prefix (optional). If not given thenCONDA_PREFIXor anaconda-home will be used.pkgsA list of packages to install, separated by space.channelsA list of space separated conda channels (optional). These channels are merged with conda-channels option. Default: defaults.override-channelsIf True then default channels from~/.condarcare ignored (optional). Default. true.no-pinIf True then conda pinned file is ignored (optional). Default: false.envName of conda environment used for installation (optional). If environment is missing then packages are installed in the active environment.default-pkgsA list of packages to install when creating a conda environment separated by space (optional). Default:pythonpip-pkgsA list of packages which are installed by pip into the conda enviroment (optional).NoteIf buildout is run in offline mode no network connection will be establish and conda packages will not be installed.NoteIf buildout is run innewest=falsemode then conda dependencies are not updated.Example usageThe following examplebuildout.cfginstalls the packages in the active conda environment.[buildout]parts=conda[conda]recipe=birdhousebuilder.recipe.condapkgs=lxmlowslibchannels=defaultsbirdhouseAuthorsCarsten Ehbrecht ehbrecht at dkrz.deChanges0.4.0 (2018-03-15)pep8 testing in travis (#13).skipped doctests and using buildout.testing (#5).fix conda-prefix in conda version >= 4.4 (#10).0.3.6 (2017-05-08)don’t run conda install in offline mode.0.3.5 (2016-10-12)added buildout option channel-priority.fixed order of channels.0.3.4 (2016-10-10)added buildout option conda-offline (#8).0.3.3 (2016-08-05)fixed: added missing CalledProcessError import0.3.2 (2016-07-11)catch conda exception (#7).0.3.1 (2016-06-30)usingCONDA_PREFIX.0.3.0 (2016-06-28)added option no-pin and override-channels.sets conda env-path and prefix in options.enabled travis build.removed unused as_bool and makedirs functions.using bool_option from zc.buildout.using conda offline mode.install pip packages.added prefix option.usingCONDA_ENV_PATH.0.2.7 (2016-04-15)removed default ioos conda channel.0.2.6 (2015-12-15)added default ioos conda channel.0.2.5 (2015-09-21)use buildout offline option … don’t establish internet connection when enabled.0.2.4 (2015-08-05)use CONDA_ENVS_DIR to overwrite base dir of conda environments.0.2.2 (2015-02-25)sets buildout:prefix option as installation default directory for birdhouse.0.2.1 (2015-02-24)settinganaconda-homewith environment variable$ANACONDA_HOME.separation of install prefix and anaconda-home.0.2.0 (2015-02-23)conda environments can be created now.added channels option.0.1.4 (2015-01-09)addedhttps://conda.binstar.org/birdhouseto default channels.0.1.3 (2015-01-08)addedhttps://conda.binstar.org/scitoolsto default channels.0.1.2 (2014-12-02)added on on-update buildout option.0.1.1 (2014-07-31)Updated documentation.0.1.0 (2014-07-10)Initial Release.