|
#!/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]> |
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. |