I'm trying to use zc.buildout
and bootstrap it. But during bootstrap I'm getting error:
cleg$ /usr/local/bin/python bootstrap.py
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz
Extracting in /var/folders/ky/t76hxgx529s642rfd8vywd280000gn/T/tmpAXsdCh
Now working in /var/folders/ky/t76hxgx529s642rfd8vywd280000gn/T/tmpAXsdCh/distribute-0.6.49
Building a Distribute egg in /var/folders/ky/t76hxgx529s642rfd8vywd280000gn/T/tmpQuAu95
/var/folders/ky/t76hxgx529s642rfd8vywd280000gn/T/tmpQuAu95/distribute-0.6.49-py2.7.egg
Traceback (most recent call last):
File "bootstrap.py", line 253, in <module>
ws.require(requirement)
File "build/bdist.macosx-10.7-x86_64/egg/pkg_resources.py", line 698, in require
File "build/bdist.macosx-10.7-x86_64/egg/pkg_resources.py", line 596, in resolve
pkg_resources.DistributionNotFound: setuptools>=0.7
I've tried to isolate project from system, and used Virtualenv to create "clean" python, but got the same error.
I've tried to update setuptools with pip, and in site-packages
folder I've got setuptools-0.9.5-py2.7.egg
, but looks like bootstrap doesn't see it.
I'm using python 2.7.5 built with homebrew. How can I troubleshoot this issue?