/[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 1322 by jonathan, Mon Jun 30 12:01:50 2003 UTC revision 1993 by bh, Fri Nov 28 16:43:48 2003 UTC
# Line 1  Line 1 
 #!/usr/bin/env python  
 #  
1  # Copyright (C) 2002, 2003 by Intevation GmbH  # Copyright (C) 2002, 2003 by Intevation GmbH
2  # Authors:  # Authors:
3  # Thomas Koester <[email protected]>  # Thomas Koester <[email protected]>
# Line 74  if append_date: Line 72  if append_date:
72  versions['thuban'] = version  versions['thuban'] = version
73    
74  #longversion = '%s\n%s' % (version, get_changelog_date())  #longversion = '%s\n%s' % (version, get_changelog_date())
75  longversion = 'Release Version 0.8.1'  longversion = 'Release Version 1.0rc1'
76  versions['thuban-long'] = longversion  versions['thuban-long'] = longversion
77    
78  def make_tuple(s):  def make_tuple(s):
# Line 120  if proj_ver: Line 118  if proj_ver:
118      versions['proj'] = ".".join(map(str, proj_ver))      versions['proj'] = ".".join(map(str, proj_ver))
119      versions['proj-tuple'] = proj_ver      versions['proj-tuple'] = proj_ver
120    
121    # psycopg/postgis
122    import Thuban.Model.postgisdb
123    if Thuban.Model.postgisdb.has_postgis_support():
124        v = Thuban.Model.postgisdb.psycopg_version()
125        versions['psycopg'] = v
126        versions['psycopg-tuple'] = make_tuple(v)
127    
128  def verify_versions():  def verify_versions():
129      """Verifies that the versions of the libraries Thuban requires      """Verifies that the versions of the libraries Thuban requires
130      are correct.      are correct.

Legend:
Removed from v.1322  
changed lines
  Added in v.1993

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26