From: Nadezhda D. <den...@st...> - 2006-01-26 14:23:21
|
Isn't package_data available only in python 2.4? Robert, thanks for pointing to Pete Shinners' s code for handling data. As far as I can tell it covers all cases (even bdist_wininst!). I was going to suggest using it. Nadia Dencheva Charlie Moad wrote: > Hey all (esp John and Robert), > > So I got sick of telling people package_data was the right > approach and finally just did it. Code wise it required very little > change. It did require moving the data files into the matplotlib > module though, so look in lib/matplotlib/mpl-data. Below is a link to > the sdist from the cvs-source I modified. Please look at it and try > it out. You'll notice that all the datapath logic has been removed > from the setup.py file. All that is done is specifying the > package_data. > If you guys have no problems with this I will implement it in > cvs. Obviously we would have to request that the current font and > images directories be removed from cvs. Hopefully this correct > approach will save us from headaches down the road. > > http://euclid.uits.iupui.edu/~cmoad/matplotlib-pkgdata-0.86.2.tar.gz > > - Charlie > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |