From 8913cfdd771bc71ffc6c6e398e7db1ae4e51fe82 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Tue, 24 Jul 2018 13:05:48 -0500 Subject: [PATCH 1/3] Document python.use_system_site_packages option --- docs/yaml-config.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/yaml-config.rst b/docs/yaml-config.rst index e4776f8a157..338729cb93a 100644 --- a/docs/yaml-config.rst +++ b/docs/yaml-config.rst @@ -154,6 +154,21 @@ the highest supported minor version will be selected. python: version: 3.5 +python.use_system_site_packages +``````````````````````````````` + +* Default: ``false`` +* Type: Boolean + +When true, it gives the virtual environment access to the global site-packages directory. +Depending of the :ref:`yaml-config:build.image`, +Read the Docs includes some libraries like scipy, numpy, etc. + +.. code-block:: yaml + + python: + use_system_site_packages: true + .. _yaml__python__setup_py_install: python.setup_py_install From fc6afd5aa0eabb89a720c4f6b12042e2aff75f58 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 22 Aug 2018 11:10:47 -0500 Subject: [PATCH 2/3] Link to build environment --- docs/yaml-config.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/yaml-config.rst b/docs/yaml-config.rst index 338729cb93a..b1430be8484 100644 --- a/docs/yaml-config.rst +++ b/docs/yaml-config.rst @@ -163,6 +163,7 @@ python.use_system_site_packages When true, it gives the virtual environment access to the global site-packages directory. Depending of the :ref:`yaml-config:build.image`, Read the Docs includes some libraries like scipy, numpy, etc. +See :ref:`builds:The build environment` for more details. .. code-block:: yaml From 073348494fa5a1eb2e5caa00f14bf69055a552a8 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 22 Aug 2018 13:50:32 -0500 Subject: [PATCH 3/3] Typo --- docs/yaml-config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/yaml-config.rst b/docs/yaml-config.rst index b1430be8484..721c85bb9c1 100644 --- a/docs/yaml-config.rst +++ b/docs/yaml-config.rst @@ -161,7 +161,7 @@ python.use_system_site_packages * Type: Boolean When true, it gives the virtual environment access to the global site-packages directory. -Depending of the :ref:`yaml-config:build.image`, +Depending on the :ref:`yaml-config:build.image`, Read the Docs includes some libraries like scipy, numpy, etc. See :ref:`builds:The build environment` for more details.