[Grok-dev] a grok installer download Was: Re: remove the download tarball functionality from grokproject?
Martijn Faassen
faassen at startifact.com
Tue Mar 2 11:10:39 EST 2010
Hi there,
Roger Erens wrote:
> IIRC, there's also this possibility: a user who wants to install Grok
> is already using a default.cfg, in which the path to the Python
> interpreter is set to one that Grok doesn't like currently, e.g.
>
> executable = /usr/local/python/2.4/bin/python
> or to an incompatible interpreter
> executabe = /usr/local/python/3.1/bin/python
In general it's going to be hard to guarantee that this will work in all
circumstances. We hardcode the path to a known-good python interpreter
in buildout.cfg, as any hardcoded paths in buildout.cfg destroy the
repeatability of the build on another platform.
What we do now is just leave it alone if it's already there.
In theory it'd be nice if we could isolate the user entirely, but that
looks hard to do.
Regards,
Martijn
More information about the Grok-dev
mailing list