On Sun, Oct 11, 2009 at 7:49 PM, Paul Moore <[email protected]> wrote: > 2009/10/9 Fred Drake <[email protected]>: >> On Fri, Oct 9, 2009 at 12:08 PM, Chris Withers <[email protected]> >> wrote: >>> distutils.entrypoints would seem to be the sensible place. >> >> Why's that? On the whole, I don't think entry points are specific to >> building & bundling, which is what distutils is all about. >> >> Entry points are about packages being able to provide metadata about >> how parts of them can be used. I'd rather see a pkgutil.entrypoint >> module with APIs for this. > > +1. It seems to me that pkgutil is the right place in the core for > most of the "general utility" aspects of setuptools.
In any case, adding entry points in the stdlib is premature. It's a plugin discovery system based on reading and writing an extra file located in the egg-info *directory* of an installled Distribution. And that's setuptools installation format, not Distutils' current (where egg-info is the PKG-INFO *file*) Once PEP 376 is finished and accepted, then we can think about it, but until then, this feature has to live on Distribute side. Regards Tarek _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
