jan: thuban/Extensions/svgexport __init__.py,1.1,1.2
cvs@intevation.de
cvs at intevation.de
Sat Nov 20 13:52:52 CET 2004
Author: jan
Update of /thubanrepository/thuban/Extensions/svgexport
In directory doto:/tmp/cvs-serv3752
Modified Files:
__init__.py
Log Message:
Added registry entry and the importing
of the svgsaver module.
Index: __init__.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/svgexport/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- __init__.py 20 Feb 2004 14:33:11 -0000 1.1
+++ __init__.py 20 Nov 2004 12:52:50 -0000 1.2
@@ -1,6 +1,21 @@
# Copyright (C) 2004 by Intevation GmbH
# Authors:
-# Bernhard Herzog <bh at intevation.de>
+# Bernhard Herzog <bh at intevation.de> (2004)
+# Jan-Oliver Wagner <jan at intevation.de> (2004)
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
+
+# import the actual module
+import svgsaver
+
+# perform the registration of the extension
+from Thuban import _
+from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
+
+ext_registry.add(ExtensionDesc(
+ name = 'SVGexport',
+ version = '0.9.0',
+ authors= [ 'Markus Rechtien' ],
+ copyright = '2004 Intevation GmbH',
+ desc = _("Export the current map in SVG format.")))
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)