summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-05-18 20:49:09 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-05-18 20:49:09 +0000
commit5321be556ad632e38b099b53273b30d965dd66b9 (patch)
tree37ef25b29989bcc8e85913d8e7ce6870e00f04ae /numpy/distutils/command/build_ext.py
parent63c63253542c4ebd029d371ffee31fd22e0e36a4 (diff)
downloadnumpy-5321be556ad632e38b099b53273b30d965dd66b9.tar.gz
Added --help-fcompiler option to build_ext command.
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r--numpy/distutils/command/build_ext.py7
1 files changed, 6 insertions, 1 deletions
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