summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-01-26 13:40:15 +0200
committermattip <matti.picus@gmail.com>2020-01-26 13:40:15 +0200
commitebe7a77d57288efbaed89fc1da283d0e1bafed07 (patch)
tree25c6c4f21da7d906c5161cd863f62b05c6820915
parent7471b5610e9cba0ecb73b6ea96bd132359530645 (diff)
downloadnumpy-ebe7a77d57288efbaed89fc1da283d0e1bafed07.tar.gz
DOC: changes from review
-rw-r--r--numpy/distutils/system_info.py1
-rw-r--r--site.cfg.example9
2 files changed, 8 insertions, 2 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 40ddba418..4a43e4a09 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -38,6 +38,7 @@ The order of finding the locations of resources is the following:
1. environment variable
2. section in site.cfg
3. DEFAULT section in site.cfg
+ 4. System default search paths (see ``default_*`` variables below).
Only the first complete match is returned.
Currently, the following classes are available, along with their section names:
diff --git a/site.cfg.example b/site.cfg.example
index 236c26e6a..4447512ba 100644
--- a/site.cfg.example
+++ b/site.cfg.example
@@ -82,9 +82,14 @@
# The settings here will apply to all sections as general defaults
# This is a good place to add general library and include directories like
# /usr/local/{lib,include}
+# These settings apply when they are not overridden in the sections below.
+# Note that the standard paths (e.g. `/usr/lib`) are not searched if you
+# override these settings, unless they are explicitly included.
+# The ``:`` is os.pathsep, which may vary on windows
#[DEFAULT]
-#library_dirs = /usr/local/lib
-#include_dirs = /usr/local/include
+#library_dirs = /usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib
+#include_dirs = /usr/local/include:/usr/include
+
# ATLAS
# -----