8000 DOC: Clarify usage of --include-paths as an f2py CLI argument (#24631) · Python-Repository-Hub/numpy@70f7021 · GitHub
[go: up one dir, main page]

Skip to content

Commit 70f7021

Browse files
authored
DOC: Clarify usage of --include-paths as an f2py CLI argument (numpy#24631)
[skip ci]
1 parent 50c611a commit 70f7021

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/source/f2py/usage.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,14 @@ Here ``<fortran files>`` may also contain signature files. Among other options
8383
``--wrap-functions`` is default because it ensures maximum portability and
8484
compiler independence.
8585

86-
``--include-paths <path1>:<path2>:..``
86+
``--include-paths "<path1>:<path2>..."``
8787
Search include files from given directories.
8888

89+
.. note:: The paths are to be separated by the correct operating system
90+
separator :py:data:`~os.pathsep`, that is ``:`` on Linux / MacOS
91+
and ``;`` on Windows. In ``CMake`` this corresponds to using
92+
``$<SEMICOLON>``.
93+
8994
``--help-link [<list of resources names>]``
9095
List system resources found by ``numpy_distutils/system_info.py``. For
9196
example, try ``f2py --help-link lapack_opt``.

0 commit comments

Comments
 (0)
0