[GRASS-SVN] r56914 - grass/branches/develbranch_6/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 24 18:27:13 PDT 2013
Author: hamish
Date: 2013-06-24 18:27:12 -0700 (Mon, 24 Jun 2013)
New Revision: 56914
Modified:
grass/branches/develbranch_6/gui/wxpython/core/globalvar.py
Log:
pythonpath-adding for stand-alone python modules (v.krige)
Modified: grass/branches/develbranch_6/gui/wxpython/core/globalvar.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/core/globalvar.py 2013-06-25 01:20:03 UTC (rev 56913)
+++ grass/branches/develbranch_6/gui/wxpython/core/globalvar.py 2013-06-25 01:27:12 UTC (rev 56914)
@@ -25,6 +25,9 @@
ETCIMGDIR = os.path.join(ETCDIR, "gui", "images")
ETCSYMBOLDIR = os.path.join(ETCDIR, "gui", "images", "symbols")
+wxgui_path = os.path.join(ETCDIR, "wxpython")
+if wxgui_path not in sys.path:
+ sys.path.append(wxgui_path)
from core.debug import Debug
sys.path.append(os.path.join(ETCDIR, "python"))
More information about the grass-commit
mailing list