Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleanup in setup scripts.

  • Loading branch information...
commit 08d1a4d7f38ab96399a912be3daac1e3adaf3548 1 parent 1d22339
@fabianp fabianp authored
Showing with 3 additions and 4 deletions.
  1. +2 −3 scikits/learn/setup.py
  2. +1 −1  scikits/learn/svm/setup.py
View
5 scikits/learn/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', [])
View
2  scikits/learn/svm/setup.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.