This repository provides scripts used to build and deploy various Cate packages for the Anaconda and Miniconda Python distributions.
See also the cate-installer repo which is used to build a stand-alone installer for Cate.
cate
- the default, complete Cate distribution for Pythoncate-cli
- same ascate
but creates start menu / desktop shortcuts for the Cate command-line interface (CLI) during installation usingconda install
cate-util
- just thecate.util
Python package with optional dependencies
Install conda-build
in your root Miniconda:
$ source activate
$ conda install conda-build
Clone this repo:
$ git clone https://github.com/CCI-Tools/cate-conda.git
Build a Conda package cate-<recipe>
(see recipes/<recipe>/meta.yaml
):
$ cd cate-conda
$ conda build -c conda-forge -c defaults recipes/<recipe>
The -c
(or --channel
) option adds extra Anaconda channels to search for package
dependencies. We must add defaults
to search for Anaconda default packagers first, then
for packages from conda-forge
, which hosts the cartopy
versions required by Cate.
To test the new Conda package cate
in a test environment cate-test
, type
$ conda create -n cate-test python=3
$ source activate cate-test
$ conda install -c conda-forge --use-local cate
...
$ cate --help
Just run the package build step with --user <channel>
:
$ conda build --user ccitools -c conda-forge -c defaults recipes/<recipe>