File tree 2 files changed +1
-9
lines changed
2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
1
from os .path import join
2
- import warnings
3
2
import numpy
4
- import sys
5
3
6
4
def configuration (parent_package = '' , top_path = None ):
7
5
from numpy .distutils .misc_util import Configuration
8
- from numpy .distutils .system_info import get_info , get_standard_file , BlasNotFoundError
6
+ from numpy .distutils .system_info import get_info
9
7
config = Configuration ('linear_model' , parent_package , top_path )
10
8
11
9
# cd fast needs CBLAS
Original file line number Diff line number Diff line change 1
1
from os .path import join
2
2
import warnings
3
3
import numpy
4
- import sys
5
4
6
5
7
6
def configuration (parent_package = '' , top_path = None ):
@@ -36,12 +35,7 @@ def configuration(parent_package='', top_path=None):
36
35
('NO_ATLAS_INFO' , 1 ) in blas_info .get ('define_macros' , [])):
37
36
config .add_library ('cblas' ,
38
37
sources = [join ('src' , 'cblas' , '*.c' )])
39
- cblas_libs = ['cblas' ]
40
- blas_info .pop ('libraries' , None )
41
38
warnings .warn (BlasNotFoundError .__doc__ )
42
- else :
43
- cblas_libs = blas_info .pop ('libraries' , [])
44
-
45
39
46
40
config .add_extension ('ball_tree' ,
47
41
sources = [join ('src' , 'BallTree.cpp' )],
You can’t perform that action at this time.
0 commit comments