On Sat, Oct 25, 2008 at 11:05 AM, Jim Fulton <jim@zope.com> wrote:

On Oct 25, 2008, at 1:55 PM, Justin Ryan wrote:
My concern is that, of course, buildout expects dev-eggs to be in src/ when its' run,

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.

A great point.  I meant to say, it expects them to be accessible before any parts are built out, AFAIK.

No.  buildout doesn't care when develop eggs are created. If you use the buildout develop option to create develop eggs, then they are created early.  If you use the zc.recipe.egg:develop recipe, or some other recipe that creates develop eggs, then you can create them later.

Ah, fantastic, I came to an understanding of this last week or so, but some example usage I found led me to believe it wouldn't work.

Perfect!  Thanks.
 


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.

You are. See above.


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.

Recipes work find for your use case afaict.

w00t! :)
 


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.

Seems to me that virtualenv is the answer to this problem, but it's not perfect.


It would be wildly simpler to just get buildout to ignore site-packages. :)
 
If you say so, I believe it.  Looking forward to new func! :)

Thanks again!

J

--
Robert Half - "When one teaches, two learn."