[GRASS-SVN] r49154 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 9 10:41:41 EST 2011


Author: martinl
Date: 2011-11-09 07:41:41 -0800 (Wed, 09 Nov 2011)
New Revision: 49154

Removed:
   grass/trunk/gui/wxpython/build_ext.py
Log:
wxGUI: remove unused file


Deleted: grass/trunk/gui/wxpython/build_ext.py
===================================================================
--- grass/trunk/gui/wxpython/build_ext.py	2011-11-09 14:12:50 UTC (rev 49153)
+++ grass/trunk/gui/wxpython/build_ext.py	2011-11-09 15:41:41 UTC (rev 49154)
@@ -1,29 +0,0 @@
-# Build wxGUI extensions (vdigit and nviz)
-
-import os
-import sys
-
-def update_opts(line, macros, inc_dirs, lib_dirs, libs, extras):
-    """!Update Extension options"""
-    fw_next = False
-    for val in line.split(' '):
-        key = val[:2]
-        if fw_next:
-            extras.append(val)
-            fw_next = False
-        elif key == '-I': # includes
-            inc_dirs.append(val[2:])
-        elif key == '-D': # macros
-            if '=' in val[2:]:
-                macros.append(tuple(val[2:].split('=')))
-            else:
-                macros.append((val[2:], None))
-        elif key == '-L': # libs dir
-            lib_dirs.append(val[2:])
-        elif key == '-l':
-            libs.append(val[2:])
-        elif key == '-F': # frameworks dir
-            extras.append(val)
-        elif val == '-framework':
-            extras.append(val)
-            fw_next = True



More information about the grass-commit mailing list