[Distutils] [zc.buildout] use of pkg_resources

Pascoe, S (Stephen) stephen.pascoe at stfc.ac.uk
Tue Oct 21 18:21:24 CEST 2008

I'm intrigued ...
Why the scripts buildout produces don't use pkg_resources.  They all add
each egg to sys.path manually and import script entry points manually.
It would seem more consistent to use
pkg_resources.working_set.find_plugins() and
I can imagine there might be a good reason, such as making absolutely
sure the correct egg is at the top of sys.path.  This is another example
of the TIMTOWTDI malaise that is rife with anything to do with
Stephen Pascoe  +44 (0)1235 445980
British Atmospheric Data Centre
Rutherford Appleton Laboratory

Scanned by iCritical for STFC.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20081021/73fdcbc8/attachment.htm>

More information about the Distutils-SIG mailing list