Warning
Currently TARDIS only works on 64-bit python installations. We’re working on making it work on 32-bit python distributions.
TARDIS has the following requirements:
Most of these requirements are easy to install using package managers like OS X’s macports or normal linux package managers.
TARDIS is using astropy’s excellent installation helpers and thus uses similar instructions to astropy.
We use a clean install of Ubuntu 13.10 as one of our testing grounds. Here’s how we get TARDIS to run:
sudo apt-get install python-dev python-pip python-numpy python-scipy python-h5py python-pandas python-yaml
We now need to install the newest astropy and we will install everything into our users directory:
pip install astropy --user
Once astropy is installed, install TARDIS:
pip install tardis-sn --user --pre
Add a –pre to install the latest development version (currently no stable version is available).
Note
You will need a compiler suite and the development headers for Python and Numpy in order to build TARDIS. On Linux, using the package manager for your distribution will usually be the easiest route, while on MacOS X you will need the XCode command line tools.
The instructions for building Numpy from source are also a good resource for setting up your environment to build Python packages.
You will also need Cython installed to build from source.
Note
If you are using MacOS X, you will need to the XCode command line tools. One way to get them is to install XCode. If you are using OS X 10.7 (Lion) or later, you must also explicitly install the command line tools. You can do this by opening the XCode application, going to Preferences, then Downloads, and then under Components, click on the Install button to the right of Command Line Tools. Alternatively, on 10.7 (Lion) or later, you do not need to install XCode, you can download just the command line tools from https://developer.apple.com/downloads/index.action (requires an Apple developer account).