[GRASS-dev] [GRASS GIS] #1282: WinGrass using www.python.org-installation

GRASS GIS trac at osgeo.org
Fri Jun 7 04:45:24 PDT 2013

#1282: WinGrass using www.python.org-installation
 Reporter:  hellik       |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.4                    
Component:  Packaging    |     Version:  svn-releasebranch64      
 Keywords:  wingrass     |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
Changes (by hamish):

  * milestone:  6.4.2 => 6.4.4


 > Change %GRASS_PYTHON% in GRASS's env.bat as needed?

 change of GRASS_PYTHON from "python" to
 "%GISBASE%/etc/extrabin/python.exe" now applied in relbr64 and devbr6 to
 avoid the reported version mis-match startup problems with wxGUI and
 Python 2.7.2.

 The GRASS+Msys startup method for wingrass continues to have $GRASS_PYTHON
 = "python" as per Init.sh, so dependent on the $PATH. We'll have to watch
 what happens there.

 It seems to work in devbr6 for .py scripts called from the GUI, hopefully
 "GRASS_PYTHON" is always launched instead of "python" so it will avoid
 another installed version somewhere in the %PATH%. There are a couple .py
 scripts and addons-- I assume on Wingrass the shebang is always ignored?
 How about when called from msys?

 This recent change is in basic disagreement with the thesis of this
 particular bug report, so... I guess we'll see how it goes.

 Anyone running custom .py addon scripts on Windows + GRASS 6.x are asked
 to check if they still work.


Ticket URL: <https://trac.osgeo.org/grass/ticket/1282#comment:3>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list