[Distutils] Problems with setuptools 0.6c11, Mac OS X 10.6, Python 2.4 from MacPorts

P.J. Eby pje at telecommunity.com
Thu Dec 10 03:03:00 CET 2009

At 04:10 PM 12/9/2009 -0700, Jeff Shell wrote:
>I've been getting strange behavior with trying to use Buildout with
>setuptools pinned to 0.6c11 on Mac OS X 10.6, with Python 2.4 built
>from MacPorts. I'd constantly get the following error:
>     Getting distribution for 'zope.interface==3.5.2'.
>     No eggs found in
>(setup script problem?)
>I first noticed it when trying to use a fresh 'bootstrap.py' from
>zc.buildout (which I have traditionally not used in our projects), and
>tried the 'Use Distribute' option. What was interesting was that
>`zope.interface` 3.5.2 was already installed in my eggs directory, and
>buildout should not have been trying to get a new one.
>So this problem seems to show up with both Distribute (0.6.8?) and
>setuptools (0.6c11).
>Pinning setuptools to 0.6c9 does not have this problem.
>I don't know if this is related, but when comparing the setuptools
>0.6c9 and 0.6c11 source trees, I noticed a change in how the Mac OS X
>version is looked up:

Yep, that would cause the problem you're showing above.  I'll make a 
note to change the version check code to fall back if mac_ver() gives 
spurious results.

More information about the Distutils-SIG mailing list