File: __init__.py

package info (click to toggle)
thuban 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,596 kB
  • ctags: 5,301
  • sloc: python: 30,411; ansic: 6,181; xml: 4,127; cpp: 1,595; makefile: 166; sh: 101
file content (23 lines) | stat: -rw-r--r-- 702 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
# Copyright (c) 2005 by Intevation GmbH
# Authors:
# Jan-Oliver Wagner <jan@intevation.de> (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 storeshape extension module."""
    import export_shapefile
    return None

ext_registry.add(ExtensionDesc(
    name = 'export_shapefile',
    version = '0.1.0',
    authors= [ 'Jan-Oliver Wagner' ],
    copyright = '2005 Intevation GmbH',
    desc = _("Exports the selected layer as a Shapefile."),
    init_callback = init))