Op 13/06/2017 om 20:32 schreef Jim Fulton:
> Don't install packages, not even for recipes.
>
> That's pretty much it. :)
>
> * Users manage virtualenvs (or whatever) however they want. It's out
> of our hands.
> * They install whatever recipes they need.
> * Buildout is used solely to execute recipes using config data.
> * zc.recipe.egg and kin become irrelevant.
>
> zc.buildout could grow a new mode to enforce this.
>
> Or perhaps there's an entirely new tool that just runs recipes. (Of
> course, someone write recipes that managed venvs, but the new tool would
> have nothing to do with that. I like this idea because a) clean break,
> b) new name, and c) focusses on the real value proposition of buildout,
> which was automating system setup.
That would be quite a change in direction :-) If not necessarily a bad
one. Keeping everything running (and especially keeping everything
running with constant setuptools-induced breakage) takes a lot of work.
The good thing: buildout still works! After all those years. A fun fact:
when two colleagues of mine left last year they got a t-shirt with
"bin/buildout" on it as it is so central to our day-to-day python work :-)
But I'm also slowly tempted to do a more elaborate experiment with pip,
just to get rid of intermittent setuptools problems. Buildout itself is
rarely the problem nowadays.
A word of caution about "system setup": many will look at tools like for
instance "ansible" for creating nginx config files and other tasks that
I myself now do with buildout recipes.
And useful recipes/extensions like mr.developer are so tied up with
buildout's package installing behaviour... We'll have a hard time
getting them to work, I fear.
Reinout
--
Reinout van Rees
http://reinout.vanrees.org/ rei...@vanrees.org
"Military engineers build missiles. Civil engineers build targets."