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

Tarek Ziadé ziade.tarek at gmail.com
Fri Dec 4 19:39:58 CET 2009


On Fri, Dec 4, 2009 at 7:04 PM, Sridhar Ratnakumar
<sridharr at activestate.com> wrote:
> 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

Notice that this should work fine in Distribute. (the bug is from a
change in setuptools
we didn't mirror)

>
>> 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
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



-- 
Tarek Ziadé | http://ziade.org | オープンソースはすごい! | 开源传万世,因有你参与


More information about the Distutils-SIG mailing list