Installation - Version 0.9.1

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

  • Python (tested on version 2.7.3+)
  • PyFITS (tested on version 3.4)
  • NumPy (tested on version 1.13.0)
  • SciPy (tested on version 0.18.1)
  • matplotlib (tested on version 1.5.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 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 from the python package index:

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 KDE neon/Ubuntu 16.04.