[Scipy-svn] r6665 - trunk/scipy/spatial

scipy-svn@scip... scipy-svn@scip...
Thu Sep 2 04:00:05 CDT 2010


Author: ptvirtan
Date: 2010-09-02 04:00:05 -0500 (Thu, 02 Sep 2010)
New Revision: 6665

Modified:
   trunk/scipy/spatial/setup.py
Log:
BUG: spatial: get lapack for qhull build properly

Modified: trunk/scipy/spatial/setup.py
===================================================================
--- trunk/scipy/spatial/setup.py	2010-09-01 20:30:46 UTC (rev 6664)
+++ trunk/scipy/spatial/setup.py	2010-09-02 09:00:05 UTC (rev 6665)
@@ -20,11 +20,12 @@
                        #extra_compiler_args=['-fno-strict-aliasing'],
                        )
 
-    lapack = get_info('lapack_opt')
+    lapack = dict(get_info('lapack_opt'))
+    libs = ['qhull'] + lapack.pop('libraries')
     config.add_extension('qhull',
                          sources=['qhull.c'],
-                         libraries=['qhull'] + lapack['libraries'],
-                        )
+                         libraries=libs,
+                         **lapack)
 
     config.add_extension('ckdtree', sources=['ckdtree.c']) # FIXME: cython
 



More information about the Scipy-svn mailing list