Skip to main content

A Buildout recipe to install anaconda packages

Project description

Introduction

birdhousebuilder.recipe.conda is a Buildout recipe to install Anaconda packages. This recipe is used by the Birdhouse project.

Usage

The recipe requires that Anaconda is already installed. It assumes that the default Anaconda location is in your home directory ~/anaconda. Otherwise you need to set the ANACONDA_HOME environment variable.

Supported options

This recipe supports the following options:

anaconda-home

Buildout option with the root folder of the Anaconda installation. Default: $HOME/anaconda. The default location can also be set with the environment variable ANACONDA_HOME. Example:

export ANACONDA_HOME=/opt/anaconda

Search priority is:

  1. anaconda-home in buildout.cfg

  2. $ANACONDA_HOME

  3. $HOME/anaconda

conda-channels

Buildout option (optional) with additional channels of conda packages. Default: birdhouse ioos

pkgs

A list of packages to install separated by space.

channels

A list of space separated conda channels (optional). These channels are merged with conda-channels option.

env

Name of conda environment used for installation (optional). If environment is missing then all packages are installed in the birdhouse environment (birdhouse).

default-pkgs

A list of packages to install when creating environment separated by space (optional). Default: python

on-update

If set to false conda will not check for updates when running buildout update. Default: false.

Example usage

The following example buildout.cfg installs the conda packages lxml, nose and matplotlib:

[buildout]
parts = conda_pkgs

conda-channels = birdhouse

[conda_pkgs]
recipe = birdhousebuilder.recipe.conda
pkgs = lxml nose matplotlib owslib
channels = birdhouse asmeurer
env = mytest
default-pkgs = python
on-update = false

Authors

Carsten Ehbrecht ehbrecht at dkrz.de

Changes

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)

  • setting anaconda-home with 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)

0.1.3 (2015-01-08)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

birdhousebuilder.recipe.conda-0.2.6.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

birdhousebuilder.recipe.conda-0.2.6-py2-none-any.whl (8.9 kB view details)

Uploaded Python 2

File details

Details for the file birdhousebuilder.recipe.conda-0.2.6.tar.gz.

File metadata

File hashes

Hashes for birdhousebuilder.recipe.conda-0.2.6.tar.gz
Algorithm Hash digest
SHA256 c3c7f4f9872c5fdd3cd9a80173d5e7f2c01720faf4876747496b2a09db27478e
MD5 1b94db54b67a8794acafb34b9ffbff51
BLAKE2b-256 ed256502644e3be08eb4ecd7f31a12f39e0f5ac50b21979e74b49b3601588d58

See more details on using hashes here.

File details

Details for the file birdhousebuilder.recipe.conda-0.2.6-py2-none-any.whl.

File metadata

File hashes

Hashes for birdhousebuilder.recipe.conda-0.2.6-py2-none-any.whl
Algorithm Hash digest
SHA256 2b6c7d2a44bc5750a832f2a78676174b672733d47d4a39c0089bf91f2d08fd25
MD5 5fe37739635bcae929a04a2fb5059e72
BLAKE2b-256 41179414c8b963c1487b3d2aab76ab37e7fc04b8402e4bf0479f82853bd95dac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page