setup.py (was Re: [Zope-Coders] RE: [Zope-Checkins] CVS: Zope/doc - INSTALL.txt:1.32)

Ken Manheimer klm@zope.com
Fri, 31 May 2002 12:13:46 -0400 (EDT)


On Fri, 31 May 2002, Guido van Rossum wrote:

> > I haven't had any time to look at your installer branch, but if you
> > use autoconf, it should be fairly easy to generate start/stop scripts
> > from start.in and stop.in templates.
> 
> Let me repeat my plea for start/stop scripts that are checked in and
> don't have to be generated.  If necessary, check in different scripts
> for Windows.  I've been bitten once already by a generated script that
> had gotten out of date.  There are ways for the script to find out
> where it lives so it's quite unnecessary to generate the script
> containing an absolute pathname etc.

If i'm understanding correctly, both concerns can (and i think, should) be
addressed by separating the start/stop mechanism into general function and
configuration-parameter files.  The script part is part is checked into
CVS, and updates with development, while the configuration file is
generated, to reflect install parameters and user customization, etc.

-- 
Ken
klm@zope.com