[GRASS-SVN] r73932 - grass/trunk/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 13 04:07:22 PST 2019


Author: martinl
Date: 2019-01-13 04:07:22 -0800 (Sun, 13 Jan 2019)
New Revision: 73932

Modified:
   grass/trunk/mswindows/osgeo4w/package.sh
Log:
attempt to fix ctypes compilation, force python3, see #3731

Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh	2019-01-13 11:53:35 UTC (rev 73931)
+++ grass/trunk/mswindows/osgeo4w/package.sh	2019-01-13 12:07:22 UTC (rev 73932)
@@ -46,7 +46,10 @@
 export PATH=/usr/bin:/mingw${MINGW_POSTFIX}/bin/:$OSGEO4W_ROOT_MSYS/bin:$PWD/mswindows/osgeo4w/lib:$PWD/mswindows/osgeo4w
 
 # Force Python3
-alias python=python3
+# alias python=python3
+export PYTHONPATH=
+export PYTHONHOME=$OSGEO4W_ROOT_MSYS/apps/Python37
+export PATH=$OSGEO4W_ROOT_MSYS/apps/Python37:$PATH
 
 T0=$(date +%s) 
 LT=$T0 



More information about the grass-commit mailing list