bh at intevation.de
Tue Dec 10 18:06:45 CET 2002
Ingo Wichmann <wichmann at uni-wuppertal.de> writes:
> 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
Thuban automatically adds ~/.thuban to the Python path, so putting your
own module into ~/.thuban should suffice for a start.
Intevation GmbH http://intevation.de/
More information about the Thuban-list