<br><br><div class="gmail_quote">On Sat, Oct 25, 2008 at 8:20 AM, Jim Fulton <span dir="ltr"><<a href="mailto:jim@zope.com">jim@zope.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On Oct 25, 2008, at 1:08 AM, Justin Ryan wrote:<br>
...<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I apologize if this isn't the place to ask about buildout, but it is listed as the support address in PyPI.<br>
</blockquote>
<br></div>
This is the right place.<br>
</blockquote><div><br>Awesome. :)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
...<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My concern is that, of course, buildout expects dev-eggs to be in src/ when its' run,<br>
</blockquote>
<br></div>
No it doesn't. buildout is based on setuptools, which is based on distutils and builds on any mechanisms they provide, which are very flexible. Use of src directories is a common and generally convenient convention.<div class="Ih2E3d">
</div></blockquote><div><br>A great point. I meant to say, it expects them to be accessible before any parts are built out, AFAIK.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
though dev products and other bits can come as dependencies of eggs and via recipes.<br>
<br>
What I want is to be able to download dev eggs in a recipe, which is applied before the eggs are sought.<br>
</blockquote>
<br></div>
I'm not sure what you're saying.<br>
<br>
You can certainly create develop eggs in a recipe. Buildout "prefers" develop eggs over non-develop eggs, so it will use a develop egg rather than a regular egg if both satisfy given requirements, even develop eggs with lower version numbers.<br>
</blockquote><div><br>It seems that I would have to run buildout twice for the develop eggs to be available, if they are downloaded in a recipe, but perhaps I'm working on an incorrect assumption.<br><br>After sending this message, I started wondering if a plugin would be more appropriate than a recipe, using a recipe just seems simpler at the outset because there are existing recipes to start with, at least for SVN.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Note that this policy sometimes gets buildout into trouble since system installs often have the same type as develop eggs in setuptools. I'm considering having buildout only prefer develop eggs found in it's develop-eggs directory. I'm also, belatedly, planning to add an option to buildout to ignore site packages, which would also avoid this problem.<br>
</blockquote><div> <br>Seems to me that virtualenv is the answer to this problem, but it's not perfect.<br></div></div><br>-- <br>Robert Half - "When one teaches, two learn."<br>