[GRASS-SVN] r40037 - grass/branches/develbranch_6/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 17 09:15:02 EST 2009


Author: martinl
Date: 2009-12-17 09:15:02 -0500 (Thu, 17 Dec 2009)
New Revision: 40037

Modified:
   grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py
Log:
windows fixes (macros)
	(merge r40036 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py	2009-12-17 14:12:23 UTC (rev 40036)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py	2009-12-17 14:15:02 UTC (rev 40037)
@@ -11,7 +11,12 @@
 
 from distutils.core import setup, Extension
 
-macros = [('PACKAGE', '"grasslibs"')]
+if sys.platform == "win32":
+    package = '\\"grasslibs\\"'
+else:
+    package = '"grasslibs"'
+macros = [('PACKAGE', package)]
+
 inc_dirs = [os.path.join(variables['GRASS_HOME'],
                          'dist.' + variables['ARCH'],
                          'include')]



More information about the grass-commit mailing list