[Distutils] zc.buildout: Build python in buildout

Jim Fulton jim at zope.com
Fri Nov 30 14:23:46 CET 2007


On Nov 30, 2007, at 12:42 AM, Thomas Lotze wrote:

> Christian Zagrodnick wrote:
>
>> On 2007-11-28 21:48:13 +0100, Jim Fulton <jim at zope.com> said:
>>> I suspect that a better solution would be to find a way to  
>>> bootstrap the
>>> buildout in a way that included building Python as part of the
>>> bootstrapping process.
>>
>> That would certainly the best approach. Only that I have no idea  
>> how to do
>> that. :(
>
> I'm not so sure. I'd prefer bootstrapping not to look too deeply  
> into the
> buildout configuration, just to keep it simple.
>
> Couldn't buildout be taught to restart itself using a custom Python  
> if it
> finds that one is used, possibly after it has been rebuilt?


Possibly.  So if a buildout python option points to a part (a section  
with a recipe), then it might re-write its script and restart itself  
if it isn't already running the Python defined by that part.

Jim

--
Jim Fulton
Zope Corporation




More information about the Distutils-SIG mailing list