Permalink
Browse files

Cleanup in setup scripts.

  • Loading branch information...
1 parent 1d22339 commit 08d1a4d7f38ab96399a912be3daac1e3adaf3548 @fabianp fabianp committed Sep 28, 2010
Showing with 3 additions and 4 deletions.
  1. +2 −3 scikits/learn/setup.py
  2. +1 −1 scikits/learn/svm/setup.py
@@ -29,12 +29,11 @@ def configuration(parent_package='', top_path=None):
if (not blas_info) or (
('NO_ATLAS_INFO', 1) in blas_info.get('define_macros', [])) :
config.add_library('cblas',
- sources=[
- join('src', 'cblas', '*.c'),
- ]
+ sources=[join('src', 'cblas', '*.c')]
)
cblas_libs = ['cblas']
blas_info.pop('libraries', None)
+ warnings.warn(BlasNotFoundError.__doc__)
else:
cblas_libs = blas_info.pop('libraries', [])
@@ -1,7 +1,7 @@
from os.path import join
import numpy
from ConfigParser import ConfigParser
-
+import warnings
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration

0 comments on commit 08d1a4d

Please sign in to comment.