[ZODB-Dev] ZEO version.txt

Chris Withers chrisw@nipltd.com
Fri, 01 Mar 2002 14:42:29 +0000


Greg Ward wrote:
> 
> On 01 March 2002, Chris Withers said:
> > PS: Is anyoen gonna complain if I put a VERSION.TXT in the ZEO package? I am forever
> > trying to figure out which ZEO is installed in which Zope base...
> 
> Yes.  IMHO the right way to do this is
> 
>   __version__ = "1.0"   # or whatever
> 
> in ZEO/__init__.py.
> 
> Unfortunately, there's an earlier convention in Python-land that
> uses __version__ for RCS/CVS *revision* numbers.  Sigh.
> Revision != version.

I know, I want to cry now :~(

Well, I think I may go ahead an check a version.txt into the CVS, unless someone tells me
not to.

Of course, that someone then needs to make sure they update the version.txt when we get a
new release or even worse thigns will happen!

cheers,

Chris