matplotlib/matplotlib — pull request #965 by r-owen (2012-06-26 22:25:31+00:00)
Title: Updated setupext.py that allows building on Mac OS X

Fix build on Mac OS X so that:
* It "just builds" against Apple's Python using Apple's library, with no special configuration required.
* It also looks in /usr/local. This should support HomeBrew and is used on all other platforms, so I think most users expect it.

This new setupext.py will not work with MacPorts or fink, but the old one would not either. I think it is dangerous to try to support both by default, since old or incomplete setups could lead to including unexpected libraries.