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

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' 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 ?) Sorry if this is a duplicate or the wrong place to post. cheers -- denis

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

On Fri, Dec 4, 2009 at 7:04 PM, Sridhar Ratnakumar <sridharr@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@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- Tarek Ziadé | http://ziade.org | オープンソースはすごい! | 开源传万世,因有你参与
participants (3)
-
denis
-
Sridhar Ratnakumar
-
Tarek Ziadé