From d791236019f9498479172495bc658da8adc9556c Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Fri, 26 Aug 2016 14:24:19 -0500 Subject: [PATCH] DOC: Corrected allowed keywords in add_(installed_)library Docstring listed extra_f77_compiler_args and extra_f90_compiler_args as allowed keywords, but per command/build_clib.py, lines 193-194 the recognized keywords are in fact extra_f77_compile_args and extra_f90_compile_args. The keyword extra_compiler_args, although non-confirmant both for fortran keywords and to the keywords of add_extension, is consistent with the implementation (see line 200 of build_clib.py). --- numpy/distutils/misc_util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 958de1a185e0..2cd1853329dc 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -1512,8 +1512,8 @@ def add_library(self,name,sources,**build_info): * macros * include_dirs * extra_compiler_args - * extra_f77_compiler_args - * extra_f90_compiler_args + * extra_f77_compile_args + * extra_f90_compile_args * f2py_options * language @@ -1565,8 +1565,8 @@ def add_installed_library(self, name, sources, install_dir, build_info=None): * macros * include_dirs * extra_compiler_args - * extra_f77_compiler_args - * extra_f90_compiler_args + * extra_f77_compile_args + * extra_f90_compile_args * f2py_options * language