[GRASS-SVN] r35569 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 23 18:19:02 EST 2009
Author: neteler
Date: 2009-01-23 18:19:02 -0500 (Fri, 23 Jan 2009)
New Revision: 35569
Modified:
grass/trunk/lib/init/init.bat
Log:
forward-ported fixes from jef/qgis team to add wxpython support (untested), http://trac.osgeo.org/osgeo4w/ticket/37
Modified: grass/trunk/lib/init/init.bat
===================================================================
--- grass/trunk/lib/init/init.bat 2009-01-23 23:12:38 UTC (rev 35568)
+++ grass/trunk/lib/init/init.bat 2009-01-23 23:19:02 UTC (rev 35569)
@@ -88,12 +88,20 @@
rem if return ok, wxpython start:
if %errorlevel% == 2 goto exitinit
-"%WINGISBASE%\etc\wxpython\wxgui.py"
-
"%WINGISBASE%\etc\clean_temp" > NUL:
goto exitinit
+:wxpython
+
+set PYTHONPATH=%PYTHONPATH%;%WINGISBASE%\etc\python;%WINGISBASE%\etc\wxpython
+
+python "%GISBASE%/etc/wxpython/gis_set.py"
+if %errorlevel% == 2 goto exitinit
+python "%GISBASE%/etc/wxpython/wxgui.py"
+
+goto exitinit
+
:text
"%WINGISBASE%\etc\set_data"
More information about the grass-commit
mailing list