Re: [Pyobjc-dev] PyObjc and Python 2.5
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2006-09-25 02:20:14
|
On 9/24/06, Russell Finn <rs...@gm...> wrote: > On 9/24/06, Russell Finn <rs...@gm...> wrote: > > "easy_install bdist_mpkg" found the currently installed version 0.4.1; > > "easy_install --upgrade bdist_mpkg" correctly found the latest version > > 0.4.2. However, in each case it tried to install the egg to > > "/Library/Frameworks/Python.framework/Versions/2.4/bin", and it's not > > apparent how to override this. (I even tried to install the latest > > version of easy_install under 2.5 without obvious effect.) > > So I figured out you have to run easy_install-2.5 -- which was not in > my path because I run tcsh so the auto-path-update doesn't work for > me, and my /usr/local/bin only had a link to the 2.4 version. > However: > > rsf% python2.5 setup.py bdist_mpkg --open > 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.linux-i686/egg/setuptools/dist.py", line 219, in __init__ > File "build/bdist.linux-i686/egg/setuptools/dist.py", line 243, in > fetch_build_eggs > File "build/bdist.linux-i686/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')) > > so now I'm stuck. > > (This is with a newly installed Python 2.5 from python.org and the > most recent easy_install and bdist_mpkg, as far as I can tell. Mac OS > X 10.4.7 (PowerPC).) I guess the tarball for bdist_mpkg was made with a too old setuptools. Build it from a svn checkout, or a source checkout with setup.cfg removed. -bob |