[MOAB-dev] r2935 - MOAB/trunk/tools/iMesh/python

jvporter at wisc.edu jvporter at wisc.edu
Mon Jun 8 17:45:22 CDT 2009


Author: jvporter
Date: 2009-06-08 17:45:22 -0500 (Mon, 08 Jun 2009)
New Revision: 2935

Modified:
   MOAB/trunk/tools/iMesh/python/setup.py
Log:
* Fix broken setup.py


Modified: MOAB/trunk/tools/iMesh/python/setup.py
===================================================================
--- MOAB/trunk/tools/iMesh/python/setup.py	2009-06-08 22:31:27 UTC (rev 2934)
+++ MOAB/trunk/tools/iMesh/python/setup.py	2009-06-08 22:45:22 UTC (rev 2935)
@@ -24,8 +24,8 @@
         elif match.group(1) == 'L':
             iMesh_libdirs.append( match.group(2) )
 
-    inc_match = re.compile(r'(?:(?<=\s|^)-(I)\s*(\S*)')
-    for match in defs['IMESH_INCLUDES']:
+    inc_match = re.compile(r'(?:(?<=\s)|^)-(I)\s*(\S*)')
+    for match in inc_match.finditer( defs['IMESH_INCLUDES'] ):
         iMesh_incs.append( match.group(2) )
 
 iBase = Extension('itaps.iBase',



More information about the moab-dev mailing list