OtherPackages: Difference between revisions

From CASA Guides
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
add additional packages. The method to do this can vary from package to package and OS to OS, but many of these packages
add additional packages. The method to do this can vary from package to package and OS to OS, but many of these packages
use the same distutils approach and we can summarize a general path.
use the same distutils approach and we can summarize a general path.
== The Basic Idea ==


== On the Macintosh ==
== On the Macintosh ==
You are in huge luck. Most astronomers can administrate their own Mac and the location of CASA is standardized from
Mac to Mac. This allowed Tom Robitaille to write a simple script that makes installing third party packages
extremely simple. The script lives here:
https://github.com/astrofrog/casa-python
and it gives you access
As noted in the docs, this script assumes that CASA is still using Python 2.6. That will need to be upgraded.
=== Complications ===
You knew it wasn't always going to be that easy. Some of these packages, specifically the ultra-important SciPy,
require a fortran compiler and Mac OS doesn't (at least at the moment) ship with one.


== On Linux ==
== On Linux ==

Revision as of 13:20, 13 September 2013

CASA ships with a few third part packages (NumPy, SciPy, Matplotlib). It can be very useful to upgrade these or add additional packages. The method to do this can vary from package to package and OS to OS, but many of these packages use the same distutils approach and we can summarize a general path.

The Basic Idea

On the Macintosh

You are in huge luck. Most astronomers can administrate their own Mac and the location of CASA is standardized from Mac to Mac. This allowed Tom Robitaille to write a simple script that makes installing third party packages extremely simple. The script lives here:

https://github.com/astrofrog/casa-python

and it gives you access

As noted in the docs, this script assumes that CASA is still using Python 2.6. That will need to be upgraded.

Complications

You knew it wasn't always going to be that easy. Some of these packages, specifically the ultra-important SciPy, require a fortran compiler and Mac OS doesn't (at least at the moment) ship with one.

On Linux