Michiel de Hoon <mjldehoon@...9...>
> There is no matplotlib binary for 64-bit Python yet because
> I've not
> figured out how to build one successfully -- I get horrible
> with Tcl/Tk.
Would it be possible to release a matplotlib binary for 64-bit Python using
the MacOSX backend instead of tkagg?
It's not hard to build your own 64-bit matplotlib on 10.6 (and I assume
the instructions are the same on 10.7, but perhaps not). The
prerequisite libraries are already present. Just make sure you have the
- XCode with gcc 4.2 as the default compiler (one way to change the
default is using a pair of symlinks in /usr/bin or /usr/local/bin -- one
for gcc, one for g++)
- Python.org's 64-bit python installed and preferably running as the
Download and unpack the matplotlib source.
Edit setupext.py and change the entry for darwin to include those two
directories: /usr/X11 and /usr/lib.
Then copy setup.cfg.template to setup.cfg and edit setup.cfg to enable
the backends you want. Be sure to disable TkAgg because it won't build
Then build in the usual way:
python setup.py build
python setup.py install
I personally don't think the matplotlib project should serve such a
product unless and until somebody has time to deal with the Tk linking
issues, which apparently require editing some resulting libraries (more
than I want to attempt). But that's just my opinion.
--- On Wed, 11/9/11, Russell E. Owen <rowen@...2756...> > wrote: