diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2005-12-16 13:06:13 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2005-12-16 13:06:13 +0000 |
commit | af25411d8966bcf1562f1872ad2d724e9e466d5b (patch) | |
tree | e8adafd6f0a92d0e3b07b31817e3f9f3cb470374 /scipy/corelib/setup.py | |
parent | 3464418761b89f678c112224a4b0dfd1ffe871f8 (diff) | |
download | numpy-af25411d8966bcf1562f1872ad2d724e9e466d5b.tar.gz |
Moved dotblas back to scipy.corelib (scipy.base.numeric tries to import it)
Diffstat (limited to 'scipy/corelib/setup.py')
-rw-r--r-- | scipy/corelib/setup.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scipy/corelib/setup.py b/scipy/corelib/setup.py index a3e45abd6..aeb168b93 100644 --- a/scipy/corelib/setup.py +++ b/scipy/corelib/setup.py @@ -8,6 +8,23 @@ def configuration(parent_package='',top_path=None): config = Configuration('lib',parent_package,top_path) + # Configure blasdot + blas_info = get_info('blas_opt',0) + #blas_info = {} + def get_dotblas_sources(ext, build_dir): + if blas_info: + return ext.depends[:1] + return None # no extension module will be built + + config.add_extension('_dotblas', + sources = [get_dotblas_sources], + depends=[join('blasdot','_dotblas.c'), + join('blasdot','cblas.h'), + ], + include_dirs = ['blasdot'], + extra_info = blas_info + ) + # Configure mtrand config.add_extension('mtrand', sources=[join('mtrand', x) for x in |