[Zope] Automating zexp installation

Dieter Maurer dieter@handshake.de
Tue, 12 Nov 2002 20:41:56 +0100


Paul writes:
 > My apologies if this is a FAQ, but is there an easy way
 > to automate the installation of the zexp files?
 > 
 > Every time we rev our in-house zope modules, we have to
 > do the following:
 > 
 >   o import the zexp files
 >   o install/reload the external methods for each module
 >   o install a SiteRoot for each module (because we are
 >     using an apache proxy)
 > 
 > That's a lot of mouse clicks, and prone to human error.
 > How can I automate the above operations via a shell/python script?
 > Many thanks in advance for any pointers.
Have a look at "ZPublisher.Client". With it, you can
automate HTTP requests.

You can also look in "comp.lang.python.announce". Several month ago,
a HTTP automation framework has been announced there.
Unfortunately, I forgot its name.


Dieter