summaryrefslogtreecommitdiff
path: root/doc/DISTUTILS.rst.txt
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2011-08-16 23:33:32 +0300
committerCharles Harris <charlesr.harris@gmail.com>2011-08-20 17:19:08 -0600
commita90754d673aa4af4d605a657134d76422c390510 (patch)
treea7f226d4281c7b5501970e413ca14c47975a08e9 /doc/DISTUTILS.rst.txt
parentea529d4081a38acf85a759dda25e3edf0bd307dc (diff)
downloadnumpy-a90754d673aa4af4d605a657134d76422c390510.tar.gz
ENH: Introduce new options extra_f77_compile_args and extra_f90_compile_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.txt14
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).