Skip to content

datamicroscopes/release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5cb3081 · Oct 22, 2015
Oct 7, 2015
Oct 22, 2015
Oct 16, 2015
Aug 5, 2015
Jul 20, 2015
Oct 7, 2015
Sep 28, 2015
Aug 2, 2014
Jul 20, 2015
Oct 7, 2015
Apr 11, 2015
Aug 5, 2015
Aug 6, 2015
Aug 5, 2015
Oct 8, 2015
Aug 6, 2015
Aug 5, 2015
Aug 5, 2015
Aug 13, 2015
Oct 8, 2015

Repository files navigation

microscopes-release

Build Status

Tools for building conda releases of datamicroscopes on both Linux and OS X.

Please install dependencies in requirements.txt.

travis.yml

We deploy to Anaconda.org by using Travis CI as a build server.

This is somewhat hacky and requires modifying .travis.yml to specify the Anaconda channel we want to use and what OS to build for.

.travis.yml in this repository is automatically generated by the fabric commands below. Do not modify it manually.

If you need to modify the travis-ci configuration, modify travis.yml (no leading period) instead. Fabric generates .travis.yml from this travis.yml file.

Building a new conda release

Committers can build a new conda release by simplying updating the git submodule pointers and pushing to this repo. Travis CI takes care of the rest. When checkout out the repository for the first time, initialize the submodules with the following commands:

$ git submodule init

Once the submodules are initialized, we can update the submodules to the master version on Github with:

$ fab update

To push a new OS X build to Anaconda.org, use

$ fab release_osx

To push a new Linux build to Anaconda.org, use

$ fab release_linux

You can cut a release for both with:

$ fab release_all

By default, we build to the main channel on Anaconda.org. You can build to another channel (e.g. the dev channel) by running a command like:

$ fab release_osx:dev

You can specify the channel you want to install from with a command like:

$ conda install -c datamicroscopes/channel/dev microscopes-common

If conda-install cannot find a package in the channel, it will also look it the channels specified in your .condarc file. You can override this with the --override-channels flag.