From 5321be556ad632e38b099b53273b30d965dd66b9 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Fri, 18 May 2007 20:49:09 +0000 Subject: Added --help-fcompiler option to build_ext command. --- numpy/distutils/command/build_ext.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'numpy/distutils/command/build_ext.py') diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index e85b060d0..483151ef9 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -18,7 +18,7 @@ from numpy.distutils.system_info import combine_paths from numpy.distutils.misc_util import filter_sources, has_f_sources, \ has_cxx_sources, get_ext_source_files, all_strings, \ get_numpy_include_dirs, is_sequence - +from numpy.distutils.command.config_compiler import show_fortran_compilers class build_ext (old_build_ext): @@ -29,6 +29,11 @@ class build_ext (old_build_ext): "specify the Fortran compiler type"), ] + help_options = old_build_ext.help_options + [ + ('help-fcompiler',None, "list available Fortran compilers", + show_fortran_compilers), + ] + def initialize_options(self): old_build_ext.initialize_options(self) self.fcompiler = None -- cgit v1.2.1