[GRASS-SVN] r40038 - grass/branches/releasebranch_6_4/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 17 09:18:47 EST 2009


Author: martinl
Date: 2009-12-17 09:18:47 -0500 (Thu, 17 Dec 2009)
New Revision: 40038

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


Modified: grass/branches/releasebranch_6_4/gui/wxpython/vdigit/setup.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/vdigit/setup.py	2009-12-17 14:15:02 UTC (rev 40037)
+++ grass/branches/releasebranch_6_4/gui/wxpython/vdigit/setup.py	2009-12-17 14:18:47 UTC (rev 40038)
@@ -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