[Distutils] Bootstrap use_setuptools() in ez_setup.py failure

P.J. Eby pje at telecommunity.com
Wed Jan 19 17:53:18 CET 2011


At 03:40 PM 1/19/2011 +0800, Pherl Liu wrote:
>Well..
>
>I think I can fix this by editing ez_setup.py
>
>adding oneline after pkg_resources.DistributionNotFound is caught, 
>in use_setuptools()
>
>del pkg_resources, sys.modules['pkg_resources']
>
>Not sure if this makes sense.

That's already in current versions of ez_setup.py; 0.6c9 is several 
years old.  I'd suggest you use the svn externals to keep it up-to-date.  See:

   http://peak.telecommunity.com/DevCenter/setuptools#managing-multiple-projects

for details.




More information about the Distutils-SIG mailing list