The current stable release of astLib (version 0.7.0) has the following requirements:
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 setup.py script:
sudo python setup.py install
If you do not have root access to your machine, astLib can be installed in your home directory by doing the following:
python setup.py 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 12.10.