Hi, On 1 Aug 2009, at 18:43, John Hunter 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-packages/ > > 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? From what I can tell /Library/Python/2.5/site-packages is the default. All I have in /Library/Frameworks are those such as Qt, CG and other things which I have installed. VirtualBox and PyQt both install to /Library/Python/2.5/site-packages The README in /Library/Python/2.5/site-packages make reference to a site.py file for 'more information' on site packages. I am unsure what exactly is meant by this. Might be worth seeing how PyQt or VirtualBox pull it off. Although I am unsure if the installer code for either is open source. Regards, Freddie. ------------------------------------------------------------------------------ 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