[Qgis-developer] Re: GdalTools versions
Borys Jurgiel
borysiasty at aster.pl
Mon Jun 7 06:02:37 EDT 2010
Dnia poniedziałek, 7 czerwca 2010 o 11:34:23 Jürgen E. Fischer napisał(a):
> 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.
Exactly. Giuseppe, can you check your paths?
> But utils.py searches for available plugins first the system plugins and
> then the user plugins, but AFAICS that shouldn't make a difference.
Exactly, it creates only a list of module names.
More information about the Qgis-developer
mailing list