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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2554 - (hide annotations)
Mon Jan 31 09:18:27 2005 UTC (20 years, 1 month ago) by nhueffme
Original Path: trunk/thuban/Extensions/ogr/__init__.py
File MIME type: text/x-python
File size: 941 byte(s)
Added class ogrdialog.py and changed some comments.

1 nhueffme 2549 # Copyright (C) 2004 by Intevation GmbH
2     # Authors:
3     # Nina Hueffmeyer <[email protected]>
4     #
5     # This program is free software under the GPL (>=v2)
6     # Read the file COPYING coming with the software for details.
7    
8     __version__ = "$Revision$"
9     # $Source$
10     # $Id$
11    
12     # import the actual modules
13     from os import environ
14     try:
15     dummy = environ["DISPLAY"]
16     import OGR
17     import maplegend
18     except:
19     pass # we don't have a DISPLAY, so don't import the modules
20     # (we probably are in test-mode)
21     # Not sure whether this is the best method to avoid problems
22     # in the global test routine.
23    
24     # perform the registration of the extension
25     from Thuban import _
26     from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
27    
28     ext_registry.add(ExtensionDesc(
29     name = 'OGRstart',
30     version = '0.9.0',
31 nhueffme 2554 authors= [ 'Nina Hueffmeyer' ],
32 nhueffme 2549 copyright = '2004 Intevation GmbH',
33     desc = _("Open a file supported by ogr.")))

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26