astropy/astropy — pull request #432 by astrofrog (2012-10-15 17:04:06+00:00)
Title: Added build script for OSX installer, adapted from Numpy

**DISCLAIMER**: this has to run sudo, so check the code before trying it out ;-)

This is heavily edited from Numpy, which had a separate script for making the pkg file and a simple DMG, and a pretty DMG. No real reason to keep these separate. To see the result:

http://www.mpia-hd.mpg.de/~robitaille/share/astropy-0.2.dev1918-py2.7-macosx10.7.dmg

If you have suggestions for removing the number of 'sudo' commands, I'm open. If you have suggestions on changing the DMG background, let me know too, since we want to avoid binary diffs.