File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ When running under a :ref:`virtual environment <sys-path-init-virtual-environmen
6464the ``pyvenv.cfg `` file in :data: `sys.prefix ` is checked for site-specific
6565configurations. If the ``include-system-site-packages `` key exists and is set to
6666``true `` (case-insensitive), the system-level prefixes will be searched for
67- site-packages, otherwise they won't.
67+ site-packages, otherwise they won't. If the system-level prefixes are not searched then
68+ the user site prefixes are also implicitly not searched for site-packages.
6869
6970.. index ::
7071 single: # (hash); comment
Original file line number Diff line number Diff line change 2020installation). If "pyvenv.cfg" (a bootstrap configuration file) contains
2121the key "include-system-site-packages" is set to "true"
2222(case-insensitive), the system-level prefixes will still also be
23- searched for site-packages; otherwise they won't.
23+ searched for site-packages; otherwise they won't. If the system-level
24+ prefixes are not included then the user site prefixes are also implicitly
25+ not searched for site-packages.
2426
2527All of the resulting site-specific directories, if they exist, are
2628appended to sys.path, and also inspected for path configuration
You can’t perform that action at this time.
0 commit comments