thouis / homebrew

The missing package manager for OS X.
http://mxcl.github.com/homebrew
1 stars 3 forks source link

Install matplotlib from their github master by pip #3

Closed ljosa closed 12 years ago

ljosa commented 12 years ago

I could not use https://github.com/thouis/matplotlib/tarball/v1.0.1-notkagg because it gave me the error src/ft2font.h:14:10: fatal error: 'ft2build.h' file not found on both Mac OS X 10.6 and Mac OS X 10.7. I also could not simply do pip install matplotlib because the released version did not work with clang, which replaces llvm in Mac OS X 10.7 (see https://trac.macports.org/ticket/31046).

This commit has only been tested on Mac OS X 10.7.

thouis commented 12 years ago

Can you use a tag to download a specific version from their github page (as the old code did)? The tk changes are no longer needed, so you can pull directly from their repo. This would be a lot faster than cloning the matplotlib repo.

ljosa commented 12 years ago

You got notified about my commit 8a45ae9 from a month ago, right?

thouis commented 12 years ago

I did, but I'm concerned about dropping the various pkgconfig paths, and wanted to test more on 10.5 and 10.6. Have you tried the more minimal change of just replacing the existing pip line?

On Tue, Jul 10, 2012 at 7:58 PM, Vebjorn Ljosa reply@reply.github.com wrote:

You got notified about my commit 8a45ae9 from a month ago, right?


Reply to this email directly or view it on GitHub: https://github.com/thouis/homebrew/pull/3#issuecomment-6883512

ljosa commented 12 years ago

I haven't tried it, but if setting PKG_CONFIG_PATH and using 32-bit python was necessary at some point, then it's probably wise to leave it in. I just committed 32d2459, which only changes the pip argument.

thouis commented 12 years ago

Ok, merged. I think it should be fine.

ljosa commented 12 years ago

I tried it now on Lion, and matplotlib v1.1.0 didn't work. I had to change it to v1.1.1.