diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-11 12:58:31 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-11 12:58:31 +0000 |
commit | 2e72fd9a23f41d36a0288e1e70bf816dbda408ee (patch) | |
tree | 8f15f20a6702ef62d8f20806416f64bc78ad1414 | |
parent | cc7d893022611e0033fa2bea1c790eb39ba5769a (diff) | |
download | numpy-2e72fd9a23f41d36a0288e1e70bf816dbda408ee.tar.gz |
Using meaningful NotFoundError exception for blas_opt and lapack_opt resources.
-rw-r--r-- | numpy/distutils/system_info.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 6e0ece065..e0f0697c5 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1158,6 +1158,8 @@ from distutils.util import get_platform 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 lapack_opt_info(system_info): class blas_opt_info(system_info): + notfounderror = BlasNotFoundError + def calc_info(self): if sys.platform=='darwin' and not os.environ.get('ATLAS',None): |