/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/gns2shp/__init__.py
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/Extensions/gns2shp/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2583 - (hide annotations)
Thu Mar 10 22:51:03 2005 UTC (20 years ago) by jan
Original Path: trunk/thuban/Extensions/gns2shp/__init__.py
File MIME type: text/x-python
File size: 784 byte(s)
Added init method for Extension description.
(init): New. Contains the initialization of the module.

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))

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26