/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/version.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/version.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2676 by bh, Wed Feb 25 10:33:24 2004 UTC revision 2677 by bernhard, Wed Apr 12 09:35:21 2006 UTC
# Line 27  __version__ = "$Revision$" Line 27  __version__ = "$Revision$"
27  # E.g. given  # E.g. given
28  #  #
29  #  thuban_branch = "1.1"  #  thuban_branch = "1.1"
30  #  thuban_release = "cvs"  #  thuban_release = "svn"
31  #  #
32  # the version string will be "Thuban 1.1 cvs 2004-02-24" (obviously the  # the version string will be "Thuban 1.1 svn-20040224" (obviously the
33  # actual date might differ :) ).  OTOH, given  # actual date might differ :) ).  OTOH, given
34  #  #
35  #  thuban_branch = "1.0"  #  thuban_branch = "1.0"
# Line 39  __version__ = "$Revision$" Line 39  __version__ = "$Revision$"
39  #  #
40    
41  thuban_branch = "1.1"  thuban_branch = "1.1"
42  thuban_release = "cvs"  thuban_release = "svn"
43    
44    
45    
# Line 91  def get_changelog_date(): Line 91  def get_changelog_date():
91    
92  versions = {}  versions = {}
93    
94  if thuban_release == "cvs":  if thuban_release == "svn":
95      version = '%s %s-%s' % (thuban_branch, thuban_release, get_date('%Y%m%d'))      version = '%s %s-%s' % (thuban_branch, thuban_release, get_date('%Y%m%d'))
96      longversion = '%s\n%s' % (version, get_changelog_date())      longversion = '%s\n%s' % (version, get_changelog_date())
97  else:  else:

Legend:
Removed from v.2676  
changed lines
  Added in v.2677

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26