Finishing the extension registry feature
Jan-Oliver Wagner
jan at intevation.de
Thu Feb 17 12:25:39 CET 2005
Hi,
finally I really aim to finish the extension registry
feature.
The most important remianing problem was that the __init__.py
of a extension should not contain any GUI relevant imports
or otherweise the test suite has a problem.
On the other hand I wanted a single standard line in
thubanstart.py for each extension to load completely.
My proposal now is to define a filename (Extensions/myname/all.py)
where all imports are done to fully integrate the extension
into Thuban.
Then, in ~/.thuban/thubanstart.py there are lines like:
import Extensions.gns2shp.all
This allows for later automized loading of all available Extensions
(which is one of my goals).
What do you think?
Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)