[Numpy-svn] r3746 - trunk/numpy/distutils

numpy-svn at scipy.org numpy-svn at scipy.org
Fri May 11 08:58:40 EDT 2007


Author: pearu
Date: 2007-05-11 07:58:31 -0500 (Fri, 11 May 2007)
New Revision: 3746

Modified:
   trunk/numpy/distutils/system_info.py
Log:
Using meaningful NotFoundError exception for blas_opt and lapack_opt resources.

Modified: trunk/numpy/distutils/system_info.py
===================================================================
--- trunk/numpy/distutils/system_info.py	2007-05-11 12:50:42 UTC (rev 3745)
+++ trunk/numpy/distutils/system_info.py	2007-05-11 12:58:31 UTC (rev 3746)
@@ -1158,6 +1158,8 @@
 
 class lapack_opt_info(system_info):
 
+    notfounderror = LapackNotFoundError
+
     def calc_info(self):
 
         if sys.platform=='darwin' and not os.environ.get('ATLAS',None):
@@ -1253,6 +1255,8 @@
 
 class blas_opt_info(system_info):
 
+    notfounderror = BlasNotFoundError
+
     def calc_info(self):
 
         if sys.platform=='darwin' and not os.environ.get('ATLAS',None):




More information about the Numpy-svn mailing list