Michael, thanks for asking the distutils gurus. Phillips answer is very interesting to us. We're already discussing what to do. For the moment it looks like we should try to implement a "new style" shared data handling with a fallback being our old solution. PyX should be useable with setuptools and the answer points us to some important information on how to do proceed. On the other hand we will not drop support for old python versions quickly. We still support python versions down to python 2.1 and I want to keep PyX requirements low. Note that the current setup.py code is years old and was developed prior to python 2.4 IIRC.
André Am 22.04.2008 um 22:09 schrieb Michael Hearne: > For your consideration - the input from the EasyInstall community... > > Begin forwarded message: > >> From: "Phillip J. Eby" <[EMAIL PROTECTED]> >> Date: April 22, 2008 1:47:45 PM MDT >> To: Michael Hearne <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >> Subject: Re: [Distutils] easy_install error >> >> At 12:34 PM 4/22/2008 -0600, Michael Hearne wrote: >>> I just tried to install the egg for Pyx, and got the error pasted >>> below. I've contacted the mailing list for that project, and they >>> seem to be unsure of where they can put shared data for their egg. >> >> Eggs do not have shared data -- they only have runtime-accessible >> data, because they're not a distribution format in the way that >> system packages are. >> >> However, the problem in this case is that PyX isn't using any of >> the standard distutils ways to install these files. If they were >> using the standard install_data command, the data would at least be >> shipped inside the egg. >> >> If they were using the package_data facility, however (which >> available in Python 2.4 and up), they would be able to include the >> files inside their package (and thus the egg) and be able to access >> them using either __file__-relative paths or the pkg_resources API. >> >> Any of these approaches would work, and unless they need to support >> Python 2.3, would probably be easier to use than their current >> method of creating a siteconfig.py file. Their setup.py would then >> not need to include any custom distutils commands, as it does now. >> >> (And such a change would not require any reliance on setuptools, >> either.) > > > > > ------------------------------------------------------ > Michael Hearne > [EMAIL PROTECTED] > (303) 273-8620 > USGS National Earthquake Information Center > 1711 Illinois St. Golden CO 80401 > Senior Software Engineer > Synergetics, Inc. > ------------------------------------------------------ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > PyX-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyx-devel -- by _ _ _ Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim / \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ PyX-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-devel
