Skip to content
Permalink
Browse files
more sane python paths order: first qgis-wide python path, then plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8508 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed May 23, 2008
1 parent 213b042 commit 59f6abb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -51,7 +51,7 @@ void QgsPythonUtils::initPython(QgisInterface* interface)

// expect that bindings are installed locally, so add the path to modules
// also add path to plugins
runString("sys.path = [\"" + homePluginsPath() + "\", \"" + pythonPath() + "\", \"" + pluginsPath() + "\"] + sys.path");
runString("sys.path = [\"" + pythonPath() + "\", \"" + homePluginsPath() + "\", \"" + pluginsPath() + "\"] + sys.path");

// import SIP
if (!runString("from sip import wrapinstance, unwrapinstance",

0 comments on commit 59f6abb

Please sign in to comment.