[Pythonmac-SIG] [pyobjc] FYI: Build error; setuptools egg missing

Bob Ippolito bob at redivi.com
Wed Aug 9 19:23:50 CEST 2006


On Aug 9, 2006, at 10:07 AM, Michael Glassford wrote:

> Bob Ippolito wrote:
>> On Aug 8, 2006, at 2:34 PM, Michael Glassford wrote:
>>> I just got the PyObjC trunk from svn. When I try to build it  
>>> ("$PYTHON
>>> setup.py build"), I get the error at the end of this message. The
>>> specified url,
>>> "http://cheeseshop.python.org/packages/2.5/s/setuptools/  
>>> setuptools-0.6c1-py2.5.egg",
>>>   is in fact invalid: there's no setuptools directory.
>> You need to manually install setuptools 0.7 from the trunk when  
>> using  Python 2.5.
>> http://svn.python.org/projects/sandbox/trunk/setuptools
>
> I did this, and also downloaded and installed bdist_mpkg-0.4.2 as  
> that seemed to be necessary. Now when I run "python setup.py  
> install" for pyobjc I get:
>
> """
> Traceback (most recent call last):
>   File "setup.py", line 732, in <module>
>     dependency_links = [],
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/distutils/core.py", line 112, in setup
>     _setup_distribution = dist = klass(attrs)
>   File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line  
> 219, in __init__
>   File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line  
> 243, in fetch_build_eggs
>   File "build/bdist.macosx-10.3-fat/egg/pkg_resources.py", line  
> 487, in resolve
> pkg_resources.VersionConflict: (bdist-mpkg 0.4.2.dev-r0 (/Library/ 
> Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- 
> packages/bdist_mpkg-0.4.2.dev_r0-py2.5.egg), Requirement.parse 
> ('bdist-mpkg>=0.4.2'))
> """
>
> It appears to be saying I need bdist-mpkg 0.4.2 or greater, but  
> since that's what I just installed I'm not sure what the problem is.

If you look at version of the egg you installed, it's "0.4.2.dev_r0".  
That compares as less-than 0.4.2.

Apparently there's a problem with the way the source release of  
bdist_mpkg was tagged. I'll upload another one later on in the week,  
or you can fix it yourself by removing the setup.cfg before  
installing bdist_mpkg (though it's entirely likely that other  
dependencies will also have the same issue).

-bob



More information about the Pythonmac-SIG mailing list