Proposed change for Extensions import and Extension registry
Martin Schulze
joey at infodrom.org
Fri Nov 12 07:24:06 CET 2004
Jan-Oliver Wagner wrote:
> after some thinking about how the extension are important
> and registered I came to the conclusion that it
> is better to have the extension registry entry in the
> __init__.py file of the extensions' main directory
> instead of in one of the files.
>
> Also, in the __init__.py file the actual modules
> could be imported. Thus, in ~/.thuban/thubanstart.py
> you can write:
> import Extensions.gns2shp
> instead of
> import Extensions.gns2shp.gns2shp
Sounds good to me.
Regards,
Joey
--
We all know Linux is great... it does infinite loops in 5 seconds.
-- Linus Torvalds
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)