In article <e9448807-9b39-4ea8-a7b0-3f352ad2e...@gmail.com>,
 James Boyle <jsboyle...@gmail.com> 
 wrote:

> I built MPL 1.3 from source, all seem to go OK but I ran into the problem of 
> not finding libfreetype.6.dylib when importing.

Hmmm, it works for me. (I tried it again, just now). Here is what I did:

* Make sure you have XQuartz installed. I have 2.7.4 which I got from 
Apple.

* Edit setupext.py. Change this line:
         'darwin': ['/usr/local/', '/usr', '/usr/X11', '/opt/local'],
to:
        'darwin': ['/usr', '/usr/X11'],
to avoid any conflicts with any extra software you might have installed.

* Copy setup.cfg.template to setup.cfg to change:
    #backend = TkAgg
to:
    backend = TkAgg

* python setup.py build
* python setup.py install

I found this resulted in a matplotlib I could use just fine on 10.8. (It 
won't work on 10.6 because the X11 libraries are in the wrong place).

-- Russell


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to