[GRASS-SVN] r50397 - in grass/trunk/mswindows: . osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 23 17:07:49 EST 2012


Author: martinl
Date: 2012-01-23 14:07:49 -0800 (Mon, 23 Jan 2012)
New Revision: 50397

Modified:
   grass/trunk/mswindows/GRASS-Installer.nsi
   grass/trunk/mswindows/GRASS-Packager.bat
   grass/trunk/mswindows/env.bat
   grass/trunk/mswindows/osgeo4w/env.bat.tmpl
   grass/trunk/mswindows/osgeo4w/grass.tmpl
   grass/trunk/mswindows/osgeo4w/package.sh
Log:
winGRASS: OSGeo4W switched from python 2.5 to 2.7
	  http://trac.osgeo.org/osgeo4w/ticket/219#comment:19


Modified: grass/trunk/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi	2012-01-23 20:11:20 UTC (rev 50396)
+++ grass/trunk/mswindows/GRASS-Installer.nsi	2012-01-23 22:07:49 UTC (rev 50397)
@@ -813,9 +813,9 @@
 	FileWrite $0 'PATH="$$GISBASE/tcl-tk/bin:$$GISBASE/sqlite/bin:$$GISBASE/gpsbabel:$$PATH"$\r$\n'
 	FileWrite $0 'export PATH$\r$\n'
 	FileWrite $0 '# Set the PYTHONPATH variable$\r$\n'
-	FileWrite $0 'PYTHONPATH="$$GISBASE/etc/python:$$GISBASE/Python25:$$PYTHONPATH"$\r$\n'
+	FileWrite $0 'PYTHONPATH="$$GISBASE/etc/python:$$GISBASE/Python27:$$PYTHONPATH"$\r$\n'
 	FileWrite $0 'export PYTHONPATH$\r$\n'
-	FileWrite $0 'PYTHONHOME="$INSTALL_DIR\Python25"$\r$\n'
+	FileWrite $0 'PYTHONHOME="$INSTALL_DIR\Python27"$\r$\n'
 	FileWrite $0 'export PYTHONHOME$\r$\n'
 	FileWrite $0 'if [ -z "$$GRASS_PYTHON" ] ; then$\r$\n'
 	FileWrite $0 '   GRASS_PYTHON=python$\r$\n'

Modified: grass/trunk/mswindows/GRASS-Packager.bat
===================================================================
--- grass/trunk/mswindows/GRASS-Packager.bat	2012-01-23 20:11:20 UTC (rev 50396)
+++ grass/trunk/mswindows/GRASS-Packager.bat	2012-01-23 22:07:49 UTC (rev 50397)
@@ -197,19 +197,19 @@
 
 @echo.
 @echo -----------------------------------------------------------------------------------------------------------------------
- at echo Copy Python content to PACKAGE_DIR\Python25
+ at echo Copy Python content to PACKAGE_DIR\Python27
 @echo -----------------------------------------------------------------------------------------------------------------------
 @echo.
 
-mkdir %PACKAGE_DIR%\Python25
+mkdir %PACKAGE_DIR%\Python27
 
-copy %OSGEO4W_DIR%\apps\Python25\* %PACKAGE_DIR%\Python25
+copy %OSGEO4W_DIR%\apps\Python27\* %PACKAGE_DIR%\Python27
 
-xcopy %OSGEO4W_DIR%\apps\Python25\DLLs %PACKAGE_DIR%\Python25\DLLs /S/V/F/I
-xcopy %OSGEO4W_DIR%\apps\Python25\include %PACKAGE_DIR%\Python25\include /S/V/F/I
-xcopy %OSGEO4W_DIR%\apps\Python25\Lib %PACKAGE_DIR%\Python25\Lib /S/V/F/I
-xcopy %OSGEO4W_DIR%\apps\Python25\libs %PACKAGE_DIR%\Python25\libs /S/V/F/I
-xcopy %OSGEO4W_DIR%\apps\Python25\Scripts %PACKAGE_DIR%\Python25\Scripts /S/V/F/I
+xcopy %OSGEO4W_DIR%\apps\Python27\DLLs %PACKAGE_DIR%\Python27\DLLs /S/V/F/I
+xcopy %OSGEO4W_DIR%\apps\Python27\include %PACKAGE_DIR%\Python27\include /S/V/F/I
+xcopy %OSGEO4W_DIR%\apps\Python27\Lib %PACKAGE_DIR%\Python27\Lib /S/V/F/I
+xcopy %OSGEO4W_DIR%\apps\Python27\libs %PACKAGE_DIR%\Python27\libs /S/V/F/I
+xcopy %OSGEO4W_DIR%\apps\Python27\Scripts %PACKAGE_DIR%\Python27\Scripts /S/V/F/I
 
 @echo.
 @echo -----------------------------------------------------------------------------------------------------------------------

Modified: grass/trunk/mswindows/env.bat
===================================================================
--- grass/trunk/mswindows/env.bat	2012-01-23 20:11:20 UTC (rev 50396)
+++ grass/trunk/mswindows/env.bat	2012-01-23 22:07:49 UTC (rev 50397)
@@ -5,7 +5,7 @@
 set GRASS_PROJSHARE=%GISBASE%\proj
 set GRASS_HTML_BROWSER=explorer
 
-set PYTHONHOME=%GISBASE%\Python25
+set PYTHONHOME=%GISBASE%\Python27
 set GDAL_DATA=%GISBASE%\share\gdal
 set PROJ_LIB=%GISBASE%\proj
 set GEOTIFF_CSV=%GISBASE%\share\epsg_csv

Modified: grass/trunk/mswindows/osgeo4w/env.bat.tmpl
===================================================================
--- grass/trunk/mswindows/osgeo4w/env.bat.tmpl	2012-01-23 20:11:20 UTC (rev 50396)
+++ grass/trunk/mswindows/osgeo4w/env.bat.tmpl	2012-01-23 22:07:49 UTC (rev 50397)
@@ -8,7 +8,7 @@
 set GRASS_PROJSHARE=%OSGEO4W_ROOT%\share\proj
 set GRASS_HTML_BROWSER=explorer
 
-set PYTHONHOME=%OSGEO4W_ROOT%\apps\Python25
+set PYTHONHOME=%OSGEO4W_ROOT%\apps\Python27
 set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
 set PROJ_LIB=%OSGEO4W_ROOT%\proj
 set GEOTIFF_CSV=%OSGEO4W_ROOT%\share\epsg_csv

Modified: grass/trunk/mswindows/osgeo4w/grass.tmpl
===================================================================
--- grass/trunk/mswindows/osgeo4w/grass.tmpl	2012-01-23 20:11:20 UTC (rev 50396)
+++ grass/trunk/mswindows/osgeo4w/grass.tmpl	2012-01-23 22:07:49 UTC (rev 50397)
@@ -5,7 +5,7 @@
 GRASS_SH=$OSGEO4W_ROOT_MSYS/apps/msys/bin/sh.exe
 GRASS_WISH=$OSGEO4W_ROOT_MSYS/bin/wish.exe
 GRASS_PYTHON=$OSGEO4W_ROOT_MSYS/bin/python.exe
-PYTHONHOME=$OSGEO4W_ROOT_MSYS/apps/Python25
+PYTHONHOME=$OSGEO4W_ROOT_MSYS/apps/Python27
 GRASS_PROJSHARE=$OSGEO4W_ROOT_MSYS/share/proj
 PATH=$OSGEO4W_ROOT_MSYS/apps/grass/grass- at VERSION@/bin:$PATH
 

Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh	2012-01-23 20:11:20 UTC (rev 50396)
+++ grass/trunk/mswindows/osgeo4w/package.sh	2012-01-23 22:07:49 UTC (rev 50397)
@@ -74,7 +74,7 @@
 fi
 
 export GRASS_PYTHON="/c/OSGeo4W/bin/python.exe"
-export PYTHONHOME="/c/OSGeo4W/apps/Python25"
+export PYTHONHOME="/c/OSGeo4W/apps/Python27"
 
 if [ -f mswindows/osgeo4w/package.log ]; then 
     i=0 



More information about the grass-commit mailing list