[Distutils] Working environment

Ian Bicking ianb at colorstudy.com
Sun Mar 12 01:27:43 CET 2006

Jim Fulton wrote:
>>>> I'm not sure what to think of this.  I don't think of it as a 
>>>> script. It's like a specific invocation of the script.  A shell 
>>>> script.  Maybe
>>>> we can improve on shell scripts, but I think it's a different idea 
>>>> than the script alone.
>>> What "it" are you talking about?
>> This script+config invocation.
> OK. Do you realize that for us, these are already combined?
> That is, if you install Zope and make an instance, the scripts that
> are installed have paths and configuration baked into them.
> For us, these are just installed scripts.  There's nothing particularly
> exciting going on here.  I want the same thing with the scripts generated
> by easy_install (or something like it that we build, if necessary).

Well, I can certainly see that it would be useful to give the script 
access to the location of the working environment, and from there it can 
load default configuration files.  That the script can detect 
intelligent default locations for files -- entirely reasonable -- isn't 
the same as coding the configuration file in the script.  That might be 
okay too, but config+script isn't the same as a script, it's something else.

Ian Bicking  |  ianb at colorstudy.com  |  http://blog.ianbicking.org

More information about the Distutils-SIG mailing list