GitXplorerGitXplorer
s

ctrax-conda-recipes

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
e1c42ba42c7c87daf480d9d9bdaa44488cdfa6e3

readme: Use ilastik channel for gcc package

sstuarteberg committed 10 years ago
Unverified
fd6aa96dca947630f435df570693d4e905b6109a

ctrax: Use conda-provided version of gcc to build, since it contains C++ files.

sstuarteberg committed 10 years ago
Unverified
7d75a2a469a202f63f7b8da1db1e3be114dc39ad

readme: Added a comment about camera interfaces.

sstuarteberg committed 10 years ago
Unverified
f2cbf9f188afd8ab5f9fa08b8cbb61d7a6644466

Initial commit. Basic recipes in place, but package versions not nailed down.

sstuarteberg committed 10 years ago

README

The README file for this repository.

conda recipes for installing Ctrax

This repo contains recipes for building Ctrax from source into a conda environment. At the moment, this only works on Linux. Also, no camera interfaces are compiled in.

Prerequisites: Install Miniconda and conda-build

# Install miniconda to the prefix of your choice, e.g. /my/miniconda

# LINUX:
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
bash Miniconda-latest-Linux-x86_64.sh

# MAC:
wget https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
bash Miniconda-latest-MacOSX-x86_64.sh

# Activate conda
CONDA_ROOT=`conda info --root`
source ${CONDA_ROOT}/bin/activate root
# Install conda-build
source activate root
conda install conda-build jinja2

Build ctrax from source

For maximum compatibility, we use conda's version of gcc for all c++ packages. For now, we have to use a special version of that package, obtained from ilastik's binstar channel.

# Make the ilastik channel available to our setup
# (Edits ~/.condarc)
conda config -f --add channels ilastik

Build everything:

cd ctrax-conda-recipes
conda build ctrax

Install your locally-built packages

# Create a fresh environment and install ctrax
conda create -n ctrax-env ctrax --use-local

Run Ctrax

source ${CONDA_ROOT}/bin/activate ctrax-env
Ctrax

Optional: Upload your packages to binstar

# First, install binstar if necessary
source ${CONDA_ROOT}/bin/activate root
conda install binstar

# Upload
binstar upload ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2

Others can install Ctrax on their own machine using your binstar channel:

conda create -n ctrax-env -c your-channel ctrax