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
pkg_resources.working_set.run_script()
 
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
setuptools.
 
Thanks,
Stephen.
 
---
Stephen Pascoe  +44 (0)1235 445980
British Atmospheric Data Centre
Rutherford Appleton Laboratory
 

-- 
Scanned by iCritical for STFC.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to