[GRASS-SVN] r71730 - grass/branches/releasebranch_7_2/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 13 08:07:30 PST 2017


Author: wenzeslaus
Date: 2017-11-13 08:07:30 -0800 (Mon, 13 Nov 2017)
New Revision: 71730

Modified:
   grass/branches/releasebranch_7_2/lib/python/script/setup.py
Log:
pythonlib: add addon bin dir to path on all platforms (sync to grass.py, merge r71658 from trunk and 7.4)

Modified: grass/branches/releasebranch_7_2/lib/python/script/setup.py
===================================================================
--- grass/branches/releasebranch_7_2/lib/python/script/setup.py	2017-11-13 10:46:57 UTC (rev 71729)
+++ grass/branches/releasebranch_7_2/lib/python/script/setup.py	2017-11-13 16:07:30 UTC (rev 71730)
@@ -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