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.

Usage

The recipe requires that Anaconda is already installed. It assumes that Anaconda is installed at the default location in your home directory ~/anaconda. Otherwise you need to set the Buildout option anaconda-home.

Supported options

This recipe supports the following options:

anaconda-home

Buildout option with the root folder of the Anaconda installation. Default: $HOME/anaconda.

conda-channels

Buildout option (optional) with additional channels of conda packages.

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 anaconda root environment (anaconda-home).

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

anaconda-home = /home/myself/anaconda
conda-channels = https://conda.binstar.org/myself

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

Authors

Carsten Ehbrecht ehbrecht at dkrz.de

Changes

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.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for birdhousebuilder.recipe.conda-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6b349b0276f1d6f47e2fa91967619093ce7759c16de2a02caedd992c586abadd
MD5 bbaef594c84f36ba2dd956da8cf4f1fd
BLAKE2b-256 13254a08ce616e21a3f486b5cbf48bc026cd63655d800eb072897fe9cb5ab0e4

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