Installation - Version 0.8.0

The current stable release of astLib (version 0.8.0) has the following requirements:

  • Python (tested on version 2.7.6 and 3.4.0)
  • PyFITS (tested on version 3.3)
  • NumPy (tested on version 1.8.1)
  • SciPy (tested on version 0.13.3)
  • matplotlib (tested on version 1.3.1)

The following modules are optional:

Other versions of the software listed above are likely to work - I'm unable to test every possible combination. Note that it is possible to use some astLib functions (such as the astWCS module) without installing all of the python modules listed above.

To build and install astLib system wide (and build and install PyWCSTools), simply run the supplied script:

sudo python install

If you do not have root access to your machine, astLib can be installed in your home directory by doing the following:

python install --prefix=$HOME/python-modules

and adding something like the following to your .bashrc (or equivalent):

export PYTHONPATH=$PYTHONPATH:$HOME/python-modules/lib/python2.7/site-packages

astLib can also be installed using easy_install, e.g.:

sudo easy_install astLib

or from the python package index if you have pip installed:

sudo pip install astLib

Due to the use of Python's built-in distutils module, it is hoped that astLib should install without a hitch on any platform on which the modules that it depends upon can be installed. For reference, astLib is currently developed on Kubuntu 14.04.