diff options
author | David Cournapeau <cournape@gmail.com> | 2008-07-09 06:03:35 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-07-09 06:03:35 +0000 |
commit | 0dffd02f017944c9ccfbdbe667a21fe27473a387 (patch) | |
tree | 6fe2f904ef4517258077dae440d8a62e8240f91f /numpy/linalg | |
parent | 06e999f3a8b458684b4cd9677417f799caf02585 (diff) | |
download | numpy-0dffd02f017944c9ccfbdbe667a21fe27473a387.tar.gz |
Simplify a bit more scons scripts.
Diffstat (limited to 'numpy/linalg')
-rw-r--r-- | numpy/linalg/SConscript | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/numpy/linalg/SConscript b/numpy/linalg/SConscript index 6eba98735..78c4d569b 100644 --- a/numpy/linalg/SConscript +++ b/numpy/linalg/SConscript @@ -1,16 +1,12 @@ # Last Change: Thu Jun 12 06:00 PM 2008 J # vim:syntax=python -import os.path - -from numscons import GetNumpyEnvironment, \ - scons_get_mathlib +from numscons import GetNumpyEnvironment, scons_get_mathlib from numscons import CheckF77LAPACK from numscons import write_info env = GetNumpyEnvironment(ARGUMENTS) -config = env.NumpyConfigure(custom_tests = - {'CheckLAPACK' : CheckF77LAPACK}) +config = env.NumpyConfigure(custom_tests = {'CheckLAPACK' : CheckF77LAPACK}) use_lapack = config.CheckLAPACK() @@ -24,5 +20,4 @@ sources = ['lapack_litemodule.c'] if not use_lapack: sources.extend(['python_xerbla.c', 'zlapack_lite.c', 'dlapack_lite.c', 'blas_lite.c', 'dlamch.c', 'f2c_lite.c']) -lapack_lite = env.NumpyPythonExtension('lapack_lite', source = sources) - +env.NumpyPythonExtension('lapack_lite', source = sources) |