Skip to content

Commit

Permalink
Merge pull request #4422 from stsewd/doc-python-use-system-site-packages
Browse files Browse the repository at this point in the history
Document python.use_system_site_packages option
  • Loading branch information
ericholscher authored Aug 23, 2018
2 parents 16076e0 + 0733484 commit 156e76e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/yaml-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,22 @@ 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 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.

.. code-block:: yaml
python:
use_system_site_packages: true
.. _yaml__python__setup_py_install:

python.setup_py_install
Expand Down

0 comments on commit 156e76e

Please sign in to comment.