Skip to content

Commit 156e76e

Browse files
authored
Merge pull request #4422 from stsewd/doc-python-use-system-site-packages
Document python.use_system_site_packages option
2 parents 16076e0 + 0733484 commit 156e76e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/yaml-config.rst

+16
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,22 @@ the highest supported minor version will be selected.
154154
python:
155155
version: 3.5
156156
157+
python.use_system_site_packages
158+
```````````````````````````````
159+
160+
* Default: ``false``
161+
* Type: Boolean
162+
163+
When true, it gives the virtual environment access to the global site-packages directory.
164+
Depending on the :ref:`yaml-config:build.image`,
165+
Read the Docs includes some libraries like scipy, numpy, etc.
166+
See :ref:`builds:The build environment` for more details.
167+
168+
.. code-block:: yaml
169+
170+
python:
171+
use_system_site_packages: true
172+
157173
.. _yaml__python__setup_py_install:
158174

159175
python.setup_py_install

0 commit comments

Comments
 (0)