diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2011-08-16 23:33:32 +0300 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2011-08-16 23:33:32 +0300 |
commit | 43862759384a86cb4a95e8adb4d39fa1522acb28 (patch) | |
tree | 4dbb7dc5e1cdf4d1f67eb97a1c6b84246e1dee9d /doc/DISTUTILS.rst.txt | |
parent | 78f7542add429689465c79d2d2f2042c38239672 (diff) | |
download | numpy-43862759384a86cb4a95e8adb4d39fa1522acb28.tar.gz |
Introduce new options extra_f77_compiler_args and extra_f90_compiler_args to Configuration.add_extension. Configuration.add_library, and Extension. These options allow specifying extra compile options for compiling Fortran sources within a setup.py file.
Diffstat (limited to 'doc/DISTUTILS.rst.txt')
-rw-r--r-- | doc/DISTUTILS.rst.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/DISTUTILS.rst.txt b/doc/DISTUTILS.rst.txt index b86274447..a2ac0b986 100644 --- a/doc/DISTUTILS.rst.txt +++ b/doc/DISTUTILS.rst.txt @@ -226,7 +226,8 @@ in writing setup scripts: ``define_macros``, ``undef_macros``, ``library_dirs``, ``libraries``, ``runtime_library_dirs``, ``extra_objects``, ``extra_compile_args``, ``extra_link_args``, ``export_symbols``, ``swig_opts``, ``depends``, - ``language``, ``f2py_options``, ``module_dirs``, ``extra_info``. + ``language``, ``f2py_options``, ``module_dirs``, ``extra_info``, + ``extra_f77_compile_args``, ``extra_compile_f90_args``. Note that ``config.paths`` method is applied to all lists that may contain paths. ``extra_info`` is a dictionary or a list @@ -261,11 +262,12 @@ in writing setup scripts: The second argument gives a path to a build directory that must be used when creating files to a disk. -+ ``config.add_library(name, sources, **build_info)`` --- add - a library to ``libraries`` list. Allowed keywords arguments - are ``depends``, ``macros``, ``include_dirs``, - ``extra_compiler_args``, ``f2py_options``. See ``.add_extension()`` - method for more information on arguments. ++ ``config.add_library(name, sources, **build_info)`` --- add a + library to ``libraries`` list. Allowed keywords arguments are + ``depends``, ``macros``, ``include_dirs``, ``extra_compiler_args``, + ``f2py_options``, ``extra_f77_compile_args``, + ``extra_compile_f90_args``. See ``.add_extension()`` method for + more information on arguments. + ``config.have_f77c()`` --- return True if Fortran 77 compiler is available (read: a simple Fortran 77 code compiled succesfully). |