From 6782a92fd1a7625ee48f6b2946a7d7149ab28a77 Mon Sep 17 00:00:00 2001 From: cookedm Date: Thu, 6 Jul 2006 16:57:20 +0000 Subject: Branch numpy.distutils to distutils-revamp --- numpy/linalg/setup.py | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 numpy/linalg/setup.py (limited to 'numpy/linalg/setup.py') diff --git a/numpy/linalg/setup.py b/numpy/linalg/setup.py deleted file mode 100644 index 139b6f77f..000000000 --- a/numpy/linalg/setup.py +++ /dev/null @@ -1,31 +0,0 @@ - -from os.path import join - -def configuration(parent_package='',top_path=None): - from numpy.distutils.misc_util import Configuration - from numpy.distutils.system_info import get_info - config = Configuration('linalg',parent_package,top_path) - - # Configure lapack_lite - lapack_info = get_info('lapack_opt',0) - def get_lapack_lite_sources(ext, build_dir): - if not lapack_info: - print "### Warning: Using unoptimized lapack ###" - return ext.depends[:-1] - else: - return ext.depends[:1] - - config.add_extension('lapack_lite', - sources = [get_lapack_lite_sources], - depends= ['lapack_litemodule.c', - 'zlapack_lite.c', 'dlapack_lite.c', - 'blas_lite.c', 'dlamch.c', - 'f2c_lite.c','f2c.h'], - extra_info = lapack_info - ) - - return config - -if __name__ == '__main__': - from numpy.distutils.core import setup - setup(**configuration(top_path='').todict()) -- cgit v1.2.1