From: Charles M. <cm...@in...> - 2005-06-17 18:20:25
|
I got this same problem with bdist_mpkg. You can just edit the plist file to point to the right directory as Robert mentioned. Replace /usr/local/share with whatever you want. As a point of preference, I think the data should be installed in "System/Libraray/Frameworks/Python.framework/Versions/Current/" since this is the install root of the rest of matplotlib. Putting it in /usr/local seems to me like you are putting your build "all over" the place and losing the notion of the install-root. I reiterate, this is my opinion so take it fwiw. - Charlie Chris Barker wrote: > Robert Kern wrote: > >>> I guess that means that the data files are being installed outside of >>> site-packages/matplotlib where would that be? >> >> >> >> Probably >> /System/Libraray/Frameworks/Python.framework/Versions/Current/share/... > > > That's where they are put by the 2.3 package > >> I always use the following setup.cfg when building matplotlib: >> >> [install] >> install-data=/usr/local >> >> You can check where the package is placing the data files by looking >> at >> matplotlib-<etc>.mpkg/Contents/Packages/matplotlib-data-<etc>.pkg/Contents/Info.plist >> under the IFPkgFlagDefaultLocation key. Note that this isn't quite the >> same as the install-data. It is usually <install-data>/share/matplotlib. >> >> At my request, matplotlib now searches /usr/local/share/matplotlib by >> default on OS X. > > > The 2.4 package is putting it in: > > /usr/local/share/share/matplotlib/ > > Note the double "share". I'm guessing that's the problem. I don't have > the time to dig into this further right now, but if someone just knows > how to fix it and can tell me, great! > > -Chris > > |