<br><br><div class="gmail_quote">On Tue, Jul 13, 2010 at 2:53 AM, Gary Poster <span dir="ltr">&lt;<a href="mailto:gary.poster@canonical.com">gary.poster@canonical.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
On Jul 13, 2010, at 1:59 AM, Dave Peticolas wrote:<br>
<br>
...<br>
<div class="im"><br>
&gt;<br>
&gt; I&#39;m testing out the beta branch<br>
<br>
</div>Thank you!<br>
<div class="im"><br>
&gt; and running into a problem. I&#39;m running buildout from a virtualenv,<br>
&gt; and when I try to install the &#39;superlance&#39; package, I get this:<br>
&gt;<br>
&gt;   The required version of setuptools (&gt;=0.6c9) is not available, and<br>
&gt;   can&#39;t be installed while this script is running. Please install<br>
&gt;   a more recent version first, using &#39;easy_install -U setuptools&#39;.<br>
&gt;<br>
&gt;   (Currently using setuptools 0.6c8 (/usr/lib/python2.5/site-packages))<br>
&gt;   error: Setup script exited with 2<br>
&gt;<br>
&gt; This is despite the fact that I have 0.6c11 installed in the virtualenv. This seems to be caused<br>
&gt; by the fact that the buildout bin script has this:<br>
&gt;<br>
&gt;   import sys<br>
&gt;   sys.path[0:0] = [<br>
&gt;       &#39;/tmp/ve/eggs/zc.buildout-1.5.0b2-py2.5.egg&#39;,<br>
&gt;       &#39;/usr/lib/python2.5/site-packages&#39;,<br>
&gt;       ]<br>
&gt;<br>
&gt; And thus picks up the older version of setuptools in /usr/lib/python2.5. I tried removing those lines,<br>
&gt; but buildout seems to be re-creating that file when I run it.<br>
&gt;<br>
&gt; Any suggestions?<br>
<br>
</div>(1) This may be unrelated to your problem, but I have *not* added support for using a virtualenv without --no-site-packages, and AFAIK it was never supported.  It looks like you are not using --no-site-packages in your virtualenv, so I  don&#39;t support that.<br>
</blockquote><div><br>Gotcha. And adding --no-site-packages does seem to have cleared up my problem. Thank you!<br><br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

(2) It looks like you are using an old bootstrap.  In addition to using the code from the svn+ssh://<a href="http://svn.zope.org/repos/main/zc.buildout/branches/gary-betafix/" target="_blank">svn.zope.org/repos/main/zc.buildout/branches/gary-betafix/</a> branch (I guess you made your own release?), you also need to make sure you are using the bootstrap if you want to use the new feature without virtualenv.<br>
</blockquote><div><br>I pretty much always use buildout in a virtualenv. In my test, I&#39;m creating the virtualenv, and then using easy_install to install buildout from a checkout<br>of your branch. Is there a better way to run the test?<br>
<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
That said, the old bootstrap should still work with virtualenv + the new release, and if it doesn&#39;t that&#39;s a reasonable backwards-compatibility bug.  I&#39;ll look into that later to see if that&#39;s the case.<br>

<font color="#888888"><br>
Gary</font></blockquote></div><br>