[Distutils] setuptools-0.6c11 package_index.py 475 return dist.clone ?

Sridhar Ratnakumar sridharr at activestate.com
Fri Dec 4 19:04:54 CET 2009


On 12/4/2009 2:43 AM, denis wrote:
> Folks,
>    in setuptools-0.6c11-py2.6.egg/setuptools/package_index.py lines 468-475
>
> if dist is None:
> ...
> return dist.clone(...)
>
> => of course
> AttributeError: 'NoneType' object has no attribute 'clone'

Fixed in setuptools trunk - http://bugs.python.org/setuptools/issue90

 > return None if dist is None else dist.clone(...)
 > fixes yolk.
 > (Does nobody else use yolk ? I like it, less is more;
 > which of this year's new package managers have the same functionality

Does Yolk use setuptools? If so, you may try porting it to Distribute: 
http://python-distribute.org/

-srid



More information about the Distutils-SIG mailing list