[Zope] Version info from the command line?
Russell Hires
rhires@earthlink.net
Sun, 19 Aug 2001 11:44:18 -0400
Hello everyone,
I have a question: is there a way to determine the version of zope that is
being run from the command line? The reason I want to know this is because I
have a "brilliant" idea (just don't count on me to implement it ;-) : I see
all of these Products that people are making, and they all say "Just untar
this to your products directory." I'd like to have a more elegant solution,
like a python script that does this for you: it finds out what Zope you're
running, where the Products directory is and puts it in there, restarts
zope...
I can never remember the directory structure of my install, and I hate having
to struggle with finding the Products directory and fiddling around with tar
(I know, just being lazy, but what can I say?). I also think it would be
better for people who don't want to fool around with all of these steps to
install a product...they just type "install_zproduct <product-name>" or
something (because this command would come with zope) and it's gunzipped,
untarred, moved to the correct directory, and zope is restarted (if
necessary)...voila! Your product is installed!
Thanks for the info.
Russell