File: __init__.py

package info (click to toggle)
thuban 1.2.2-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,872 kB
  • ctags: 5,853
  • sloc: python: 30,410; ansic: 6,181; xml: 4,234; cpp: 1,595; makefile: 141
file content (25 lines) | stat: -rw-r--r-- 784 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (c) 2003-2005 by Intevation GmbH
# Authors:
# Jan-Oliver Wagner <jan@intevation.de> (2003-2005)
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with Thuban for details.

# perform the registration of the extension
from Thuban import _
from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry

def init():
    """Initialize gns2shp extension module."""
    import gns2shp
    return None

ext_registry.add(ExtensionDesc(
    name = 'gns2shp',
    version = '1.0.0',
    authors= [ 'Jan-Oliver Wagner' ],
    copyright = '2003, 2004 Intevation GmbH',
    desc = _("Converts GNS (Geographical Name Service\n" \
             "of NIMA) to Shapefile format and\n" \
             "displays the data."),
    init_callback = init))