[Thuban-list] shapelib
Bernhard Herzog
bh at intevation.de
Tue Dec 10 18:06:45 CET 2002
Ingo Wichmann <wichmann at uni-wuppertal.de> writes:
> Hi!
> I've now installed thuban along with pyshapelib.
Note that a separate installation of pyshapelib isn't necessary for
Thuban as it contains a copy of it and the relevant shapelib files.
> In the
> Examples/simple_extensions/README it says, that i have to create a file
> ~/.thuban/thubanstart.py that will be imported automaticaly. What's the
> format of this file?
It's a normal Python module, so you can put any Python code in there. In
the specific case described in that README, if you have an extension in
a file myextension.py in a directory somewhere on the Python module
search path, thubanstart.py could be as simple as
import myextension
Thuban automatically adds ~/.thuban to the Python path, so putting your
own module into ~/.thuban should suffice for a start.
Bernhard
--
Intevation GmbH http://intevation.de/
Sketch http://sketch.sourceforge.net/
MapIt! http://www.mapit.de/
More information about the Thuban-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)