From: Chris B. <Chr...@no...> - 2005-06-17 18:04:35
|
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 -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |