From: Robert K. <rob...@gm...> - 2006-01-26 18:11:24
|
Fernando Perez wrote: > Nadezhda Dencheva wrote: > >> What's wrong with Pete Shinners's smart_istall_data? >> I am thinking of using it in all our packages, so >> if someone knows of any drawbacks I'd like to hear >> about this. >> >> I've spent hours trying to construct a distutils hack that >> will force bdist_wininst to package data correctly and this >> one just works, (that's why I'm so impressed). > > It seems you guys have found a solution already, but just in case it's > of any use (now or later), you may want to glance at > > http://projects.scipy.org/ipython/ipython/browser/ipython/trunk/setupext > > This little snippet of code was contributed to ipython long ago, to > assist with data packaging (compatible with python 2.2, including > bdist_rpm and bdist_wininst). My understanding is that both solutions use essentially the same technique for emulating package_data. The major difference is that the extension in ipython allows you to specify some data to go wherever --install-data points and some other data to go into the package itself. I don't think mpl has such a split. And I don't think it should have one, either! -- Robert Kern rob...@gm... "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |