[GRASS-SVN] r71658 - grass/trunk/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Nov 10 12:51:55 PST 2017


Author: wenzeslaus
Date: 2017-11-10 12:51:55 -0800 (Fri, 10 Nov 2017)
New Revision: 71658

Modified:
   grass/trunk/lib/python/script/setup.py
Log:
pythonlib: add addon bin dir to path on all platforms (sync to grass.py)

Modified: grass/trunk/lib/python/script/setup.py
===================================================================
--- grass/trunk/lib/python/script/setup.py	2017-11-10 19:14:25 UTC (rev 71657)
+++ grass/trunk/lib/python/script/setup.py	2017-11-10 20:51:55 UTC (rev 71658)
@@ -172,6 +172,7 @@
     os.environ['GRASS_ADDON_BASE'] = addon_base
     if not mswin:
         os.environ['PATH'] += os.pathsep + os.path.join(addon_base, 'scripts')
+    os.environ['PATH'] += os.pathsep + os.path.join(addon_base, 'bin')
 
     # define LD_LIBRARY_PATH
     if '@LD_LIBRARY_PATH_VAR@' not in os.environ:



More information about the grass-commit mailing list