[GRASS-SVN] r67282 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 20 07:04:40 PST 2015
Author: martinl
Date: 2015-12-20 07:04:40 -0800 (Sun, 20 Dec 2015)
New Revision: 67282
Modified:
grass/trunk/lib/python/script/setup.py
Log:
pythonlib: add wxpython modules to pythonpath when calling gsetup.init()
Modified: grass/trunk/lib/python/script/setup.py
===================================================================
--- grass/trunk/lib/python/script/setup.py 2015-12-20 13:51:21 UTC (rev 67281)
+++ grass/trunk/lib/python/script/setup.py 2015-12-20 15:04:40 UTC (rev 67282)
@@ -174,7 +174,7 @@
# Set PYTHONPATH to find GRASS Python modules
# TODO: isn't this useless? user already imported this somehow
path = os.getenv('PYTHONPATH')
- etcpy = os.path.join(gisbase, 'etc', 'python')
+ etcpy = os.path.join(gisbase, 'etc', 'python') + os.pathsep + os.path.join(gisbase, 'gui', 'wxpython')
if path:
path = etcpy + os.pathsep + path
else:
More information about the grass-commit
mailing list