module search path
Wouter van Marle
wouterm at spammers-unite-here.com
Wed Feb 26 05:21:24 CET 2003
Thanks - the symlink is what I already planned to do (for reasons of keeping
the program files together in one dir). Sounds like I don't have to worry
about finding the modules! Sweet :)
For the other posts: I found already the sys.path variable, was thinking of
using that. Seems I don't have to worry about it. Good... tomorrow new
version on sourceforge, the first beta.
"Bernhard Herzog" <bh at intevation.de> wrote in message
news:6qd6lhes45.fsf at salmakis.intevation.de...
> "Wouter van Marle" <wouterm at spammers-unite-here.com> writes:
> > Now in future, I want the main program to be installed in
> > while the rest of the software goes to either /usr/local/lib/sqfax or
> > /usr/local/share/sqfax. Anyway - how to import modules in those dirs?
> The easiest way would be to put the main program into
> /usr/local/lib/sqfax as well and make a symbolic link in /usr/local/bin
> pointing to that. Python will automatically put /usr/local/lib/sqfax on
> the search path then.
> Intevation GmbH http://intevation.de/
> Sketch http://sketch.sourceforge.net/
> MapIt! http://www.mapit.de/
More information about the Python-list