healpy/healpy — pull request #54 by lpsinger (2012-09-04 22:12:13+00:00)
Title: Optionally build against external HEALPix library (addresses issue #43)

This rebased patch, which addresses issue #43, applies cleanly to healpy master.

I removed the line to link against libsharp and rebased my patch against the latest upstream Healpy sources. I tested it on Mac OS X (Mountain Lion) and Debian Wheezy, both with the embedded HEALPix sources and with an external HEALPix library. I tested "import healpy" as well as some unit tests for a package of my own that uses Healpy.

Everything worked with the caveat that when I built HEALPix from Subversion I had to disable libhealpix_cxx's dependency on libsharp (see the attached patch for HEALPix to see what I did).