From 2fe22c45401c72e6727f0e0e40bab635bb5ca1dd Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Fri, 18 May 2007 21:25:23 +0000 Subject: Added --fcompiler,--help-fcompiler options to build command parallel to --compiler,--help-compiler options. --- numpy/distutils/command/config_compiler.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'numpy/distutils/command/config_compiler.py') diff --git a/numpy/distutils/command/config_compiler.py b/numpy/distutils/command/config_compiler.py index 881327aba..627f09d8b 100644 --- a/numpy/distutils/command/config_compiler.py +++ b/numpy/distutils/command/config_compiler.py @@ -9,7 +9,6 @@ def show_fortran_compilers(_cache=[]): # Using cache to prevent infinite recursion if _cache: return _cache.append(1) - log.set_verbosity(-2) from numpy.distutils.fcompiler import show_fcompilers import distutils.core dist = distutils.core._setup_distribution @@ -57,11 +56,12 @@ class config_fc(Command): return def finalize_options(self): - log.info('unifing config_fc, config, build_clib, build_ext commands --fcompiler options') + log.info('unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options') build_clib = self.get_finalized_command('build_clib') build_ext = self.get_finalized_command('build_ext') config = self.get_finalized_command('config') - cmd_list = [self, config, build_clib, build_ext] + build = self.get_finalized_command('build') + cmd_list = [self, config, build_clib, build_ext, build] for a in ['fcompiler']: l = [] for c in cmd_list: @@ -95,11 +95,12 @@ class config_cc(Command): return def finalize_options(self): - log.info('unifing config_cc, config, build_clib, build_ext commands --compiler options') + log.info('unifing config_cc, config, build_clib, build_ext, build commands --compiler options') build_clib = self.get_finalized_command('build_clib') build_ext = self.get_finalized_command('build_ext') config = self.get_finalized_command('config') - cmd_list = [self, config, build_clib, build_ext] + build = self.get_finalized_command('build') + cmd_list = [self, config, build_clib, build_ext, build] for a in ['compiler']: l = [] for c in cmd_list: -- cgit v1.2.1