download.rst 5.46 KB

Download

ctools can be obtained in form of releases or directly from the git development repository. Prefer a release if you intend using ctools for production (and publications). Clone the code from git if you need the most recent code that implements new features and corrects known bugs.

Releases

The latest ctools release is ctools-0.9.0 (22 May 2015).

Below a table of ctools releases. Please note that at this stage of the project there is a strict link between the ctools and gammalib versions. Please make sure that you have the corresponding gammalib version installed before installing ctools. The Mac OS X packages comprise both ctools and gammalib.

ctools gammalib Mac OS X package
0.9.0 0.10.0 ctools-0.9.0-macosx10.3.dmg
0.8.1 0.9.1 ctools-00-08-01-macosx10.3.dmg
0.8.0 0.9.0 ctools-00-08-00-macosx10.3.dmg
0.7.1 0.8.1 ctools-00-07-01-macosx10.3.dmg
0.7.0 0.8.0 ctools-00-07-00-macosx10.3.dmg
0.6.0 0.7.0 ctools-00-06-00-macosx10.3.dmg
0.5.1 0.6.2 ctools-00-05-01-macosx10.3.dmg
0.5.0 0.6.1 ctools-00-05-00-macosx10.3.dmg
0.4.0 0.5.0 ctools-00-04-00-macosx10.3.dmg
0.3.0 0.4.2 ctools-00-03-00-macosx10.3.dmg
0.2.5 0.4.11  
0.2.4 0.4.10  
0.2.3 0.4.9  
0.2.1 0.4.7  

Git repository

To clone the ctools source code, type

$ git clone https://cta-git.irap.omp.eu/ctools

This will create a directory named ctools under the current working directory that will contain the ctools source code. Before you are able to compile the code you need to generate the configuration file (make sure that you're actually on the devel branch of the git repository):

$ cd ctools
$ git checkout devel
$ ./autogen.sh

Note

You need swig on your system to build the Python wrappers when you get the code from Git. Python wrappers are not stored in the Git repository but are built using swig from interface files located in the pyext folder. However, you do not need swig when fetching a release as the Python wrappers are bundled with the release tarballs.