[Qgis-developer] Re: GdalTools versions
Jürgen E. Fischer
jef at norbit.de
Mon Jun 7 05:34:23 EDT 2010
Hi Borys,
On Mon, 07. Jun 2010 at 11:09:21 +0200, Borys Jurgiel wrote:
> Seems they aren't really preffered. It works at mine, but Giuseppe always see
> the /usr ones. It's all about python paths, I'm right? I can't see any code
> preferring the ~/ ones in Qgis.
QgsPythonUtilsImpl::initPython() puts
pythonPath() [/usr/share/qgis/python]
~/.qgis/python
~/.qgis/python/plugins
pluginsPath() [/usr/share/qgis/python/plugins]
in front of the system's python path. I think that's Martin meant. imports
will prefer the user plugins.
But utils.py searches for available plugins first the system plugins and then
the user plugins, but AFAICS that shouldn't make a difference.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the Qgis-developer
mailing list