[Distutils] Disabling --single-version-externally-managed

Phillip J. Eby pje at telecommunity.com
Sun Sep 2 03:05:07 CEST 2007

At 01:38 PM 9/1/2007 -0700, Toshio Kuratomi wrote:
>I'm seeing an actual problem with this when starting with the following
>  ['/usr/bin', '/usr/lib/python25.zip', '/usr/lib/python2.5',
>'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
>'/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages',

Why do you have this on sys.path?  .egg-info files or directories 
should never appear on sys.path.

>/usr/lib/python2.5/site-packages/CherryPy-2.2.1-py2.5.egg is being
>inserted before '/usr/lib/python2.5/site-packages'.  Then another
>/usr/lib/python2.5/site-packages is entering the method and being placed
>after /usr/lib/python2.5... which places it before the CherryPy egg.

That sounds odd, since there should not be a need to add 
site-packages more than once.  In fact, that's what sounds like the 
actual bug here, since IIRC .insert_on() should never be called on a 
distribution whose .location is already on sys.path. 

More information about the Distutils-SIG mailing list