1 |
jan |
2583 |
# Copyright (c) 2003-2005 by Intevation GmbH |
2 |
jan |
1710 |
# Authors: |
3 |
jan |
2583 |
# Jan-Oliver Wagner <[email protected]> (2003-2005) |
4 |
jan |
1710 |
# |
5 |
|
|
# This program is free software under the GPL (>=v2) |
6 |
|
|
# Read the file COPYING coming with Thuban for details. |
7 |
jan |
2390 |
|
8 |
|
|
# perform the registration of the extension |
9 |
|
|
from Thuban import _ |
10 |
|
|
from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry |
11 |
|
|
|
12 |
jan |
2583 |
def init(): |
13 |
|
|
"""Initialize gns2shp extension module.""" |
14 |
|
|
import gns2shp |
15 |
|
|
return None |
16 |
|
|
|
17 |
jan |
2390 |
ext_registry.add(ExtensionDesc( |
18 |
|
|
name = 'gns2shp', |
19 |
|
|
version = '1.0.0', |
20 |
|
|
authors= [ 'Jan-Oliver Wagner' ], |
21 |
|
|
copyright = '2003, 2004 Intevation GmbH', |
22 |
|
|
desc = _("Converts GNS (Geographical Name Service\n" \ |
23 |
|
|
"of NIMA) to Shapefile format and\n" \ |
24 |
jan |
2583 |
"displays the data."), |
25 |
|
|
init_callback = init)) |