Installation Instructions
APLpy requires the following packages to function correctly:
In addition, the following optional packages enhance the functionality of APLpy:
- pyparsing
- pyregion
- pyavm
- PIL
- python-montage and Montage (the first is a Python wrapper to the second)
Easy Installation
NumPy and Matplotlib
Numpy and matplotlib provide pre-compiled packages for most platforms. For Mac OS X, you can download .dmg files for Numpy and Matplotlib from here and here. On Linux, most package managers will be able to install numpy and matplotlib.
Other Dependencies and APLpy
The easiest way to install APLpy and its remaining dependencies is through the auto-install-aplpy script (source). Using the auto-install script is very quick and easy. Below is an example of what you would type via the command line to get started.
python auto_install_aplpy.py
We recommend this method, but if you prefer to installing everything manually then feel free to do so.
APLpy
If you have easy_install, you can install APLpy by simply typing
easy_install aplpy
Otherwise, you can install APLpy by downloading the latest available tar file from here and follow the standard installation method:
tar xvzf APLpy-0.9.x.tar.gz
cd APLpy-0.9.x
sudo python setup.py install
Montage
Currently, one of the features in APLpy (re-projecting a FITS file to point
north) requires Montage to be
installed. Montage is a set of tools developed at the Infrared Processing and
Analysis Center (IPAC) to re-project and mosaic FITS files. If you do wish to
use the north argument when initializing a
FITSFigure instance, you will need to install Montage.
Installation instructions are available on the Montage website.

