From: Charlie M. <cw...@gm...> - 2006-01-26 12:47:26
|
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 |