<div dir="ltr">Buildout itself does not require a newer version of setuptools, 0.6c11 is enough. But the init command bootstraps a new buildout by downloading the newest version of distribute and this fails. This started happening when setuptools/distribute merged and setuptools 0.7 was released.<div>
<br></div><div>buildout init only creates an empty buildout.cfg file. It's not very useful.</div><div><br></div><div>The recommended way is to write the buildout.cfg, create a virtualenv and bootstrap a self-contained buildout:</div>
<div><br></div><div> virtualenv sandbox</div><div> wget <a href="http://downloads.buildout.org/1/bootstrap.py">http://downloads.buildout.org/1/bootstrap.py</a></div><div><div> python bootstrap.py</div></div><div> bin/buildout</div>
<div><br></div><div>I never use the system buildout.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/17 Ryan Nowakowski <span dir="ltr"><<a href="mailto:ryan@keyingredient.com" target="_blank">ryan@keyingredient.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: python-zc.buildout<br>
Version: 1.5.2-1<br>
Severity: normal<br>
<br>
It seems that buildout 1.5.2 requires setuptools>=0.7 which is not is<br>
wheezy:<br>
<br>
tubaman@cuisine:~/myproj$ buildout2.7 init<br>
Creating '/home/tubaman/myproj/buildout.cfg'.<br>
Creating directory '/home/tubaman/myproj/bin'.<br>
Creating directory '/home/tubaman/myproj/parts'.<br>
Creating directory '/home/tubaman/myproj/eggs'.<br>
Creating directory '/home/tubaman/myproj/develop-eggs'.<br>
Getting distribution for 'distribute'.<br>
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install<br>
<br>
Got distribute 0.7.3.<br>
Getting distribution for 'zc.buildout'.<br>
Got zc.buildout 2.2.1.<br>
While:<br>
Bootstrapping.<br>
<br>
An internal error occurred due to a bug in either zc.buildout or in a<br>
recipe being used:<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py", line 1805, in main<br>
getattr(buildout, command)(args)<br>
File "/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py", line 393, in bootstrap<br>
ws.require('zc.buildout')<br>
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>
needed = self.resolve(parse_requirements(requirements))<br>
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>
raise DistributionNotFound(req)<br>
DistributionNotFound: setuptools>=0.7<br>
tubaman@cuisine:~/myproj$<br>
<br>
-- System Information:<br>
Debian Release: 7.2<br>
APT prefers stable-updates<br>
APT policy: (500, 'stable-updates'), (500, 'stable')<br>
Architecture: amd64 (x86_64)<br>
Foreign Architectures: i386<br>
<br>
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br>
<br>
Versions of packages python-zc.buildout depends on:<br>
ii python 2.7.3-4+deb7u1<br>
ii python-pkg-resources 0.6.24-1<br>
ii python2.6 2.6.8-1.1<br>
ii python2.7 2.7.3-6<br>
<br>
python-zc.buildout recommends no packages.<br>
<br>
python-zc.buildout suggests no packages.<br>
<br>
-- no debconf information<br>
<br>
_______________________________________________<br>
pkg-zope-developers mailing list<br>
<a href="mailto:pkg-zope-developers@lists.alioth.debian.org">pkg-zope-developers@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zope-developers" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zope-developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Gediminas
</div>