Skip to content

Commit e5b7e8e

Browse files
committed
Set include-system-site-packages to false when creating venvs
1 parent 325ba3d commit e5b7e8e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎source/specifications/virtual-environments.rst‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ are defined:
4040

4141
* ``home``: The directory containing the Python executable used to create this
4242
virtual environment.
43-
* ``include-system-site-packages``: When ``true``, the ``site`` module will
44-
also add the system site directories to ``sys.path`` after the virtual
45-
environment site directories. If ``false``, the system site directories are
46-
not included. The value is not case sensitive. Defaults to ``true``.
43+
* ``include-system-site-packages``: When ``true`` or absent, the ``site``
44+
module will also add the system site directories to ``sys.path`` after the
45+
virtual environment site directories. If ``false``, the system site
46+
directories are not included. It is RECOMMENDED to set it to ``false`` when
47+
creating a virtual environments. The value is not case sensitive.
4748

4849

4950
Declaring installation environments as Python virtual environments

0 commit comments

Comments
 (0)