In article 
<88e473830908011043u47782cf3qa37376e3caa17...@mail.gmail.com>,
 John Hunter <jdh2...@gmail.com> wrote:

> I tried testing the OSX binaries I built Friday on my local OSX laptop
> today, and had a problem with the mkpg installer
> 
> http://drop.io/xortel1/asset/matplotlib-0-99-0-rc1-py2-5-macosx10-5-zip
> 
> On the sage box I used to do the builds, the default python path that
> the installer picks up is
> 
>   /Library/Python/2.5/site-packages
> 
> and this is where it put mpl when I ran the installer on my local box.
>  But then when I try and import matplotlib on my local box w/o
> modifying the PYTHONPATH, I can't find it because my local python is
> looking in
> 
>   /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
>   s/
> 
> Is one of these two locations preferable for the default?  Is there a
> way to inform bdist_mkpg of the desired install target? Is there any
> notion of the right way to do things w/ python on OSX?

I just tried the 0.99.0 installation myself and ran into the same issue. 
I expected it to work with my python.org python, which would be the 
latter path, but instead it went into /Library/Python/2.5/site-packages 
(where my normal python.org python can't find it).

If you are using bdist_mpkg then it should do the right thing as long as 
you build the python with your python.org python 
(/Library/Frameworks...) instead of the system python.

-- Russell


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to