# Copyright (c) 2003, 2004 by Intevation GmbH
# Authors:
# Jan-Oliver Wagner <jan@intevation.de> (2003, 2004)
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with Thuban for details.

# first try out whether we can import the required module
# of the PyOGCLib.
ok = True
try:
    import ogclib.WMSClient
except:
    print "Problems with PyOGCLib (not installed?)"
    ok = False

if ok:
    import wms

    from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
    from Thuban import _

    ext_registry.add(ExtensionDesc(
        name = 'WMS',
        version = '0.2.0',
        authors= [ 'Jan-Oliver Wagner', 'Martin Schulze' ],
        copyright = '2003, 2004 Intevation GmbH',
        desc = _("Provide layers via OGC WMS.")))
