As a part of "LSARC 2008/722 simplejson", ARC asked the desktop team to do some research and determine the best policy for managing how modules should intsall setuptool Egg files.
Many Python modules will optionally build setuptools Eggs. Developers who might want to build additional Python modules which use setuptools need these egg files installed in order to build modules which use setuptools and which also depend on Python modules we ship. After doing research, we found that other distros make sure to build setuptools before building any other Python modules. For example, here is the Fedora policy: http://fedoraproject.org/wiki/Packaging/Python/Eggs To address this, I propose we move setuptools to spec-files, and to make all modules which ship python interfaces depend on SUNWpython-setuptools or SUNWpython25-setuptools, as appropriate. Note that not all Python modules integrate with setuptools or ship egg files. However, I think it is more straightforward to just simply make all Python modules depend on setuptools whether they ship egg files or not. This way, if we update the module to a newer version which does integrate with setuptools, this will ensure we always ship egg files as needed. The attached two patches address this. The one for spec-files-other has already been committed upstream, but I will wait to get approval to make the change to spec-files until I get approval to make this change in the stable branch. sf-setuptools.diff - Patch for spec-files (not yet committed) sfo-setuptools.diff - Patch for spec-files-other (already committed) The patches do not include the move of the actual setuptools spec file, copyright file, etc. since that is just a straightforward move from spec-files-other to spec-files. Brian -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sf-setuptools.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090116/de235dc4/attachment.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sfo-setuptools.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090116/de235dc4/attachment-0001.ksh>
