Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5415030

Browse filesBrowse files
committed
Update venv docs.
- PySide2 is now available on PyPI. - --system-site-packages has always worked with stdlib's venv as well. - uniformize usage of "venv" instead of "virtualenv" as a name.
1 parent 4769f7b commit 5415030
Copy full SHA for 5415030

File tree

Expand file treeCollapse file tree

1 file changed

+13
-16
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-16
lines changed

‎doc/faq/virtualenv_faq.rst

Copy file name to clipboardExpand all lines: doc/faq/virtualenv_faq.rst
+13-16Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ Otherwise, the situation (at the time of writing) is as follows:
2525
framework bindings pip-installable? conda or conda-forge-installable?
2626
========= ========= ================ =================================
2727
Qt5 PyQt5 yes yes
28-
Qt5 PySide2 yes [#]_ yes
28+
Qt5 PySide2 yes yes
2929
Qt4 PyQt4 no yes
3030
Qt4 PySide OSX and Windows yes
3131
GTK3 PyGObject yes [#]_ Linux and OSX
3232
wxWidgets wxPython yes [#]_ yes
3333
========= ========= ================ =================================
3434

35-
.. [#] See http://lists.qt-project.org/pipermail/pyside/2018-March/002537.html.
36-
3735
.. [#] No wheels available, see
3836
https://pygobject.readthedocs.io/en/latest/devguide/dev_environ.html
3937
for build instructions.
@@ -48,20 +46,19 @@ all cases, the system-wide Python and the venv Python must be of the same
4846
version):
4947

5048
- `vext <https://pypi.python.org/pypi/vext>`_ allows controlled access
51-
from within the virtualenv to specific system-wide packages without the
52-
overall shadowing issue. A specific package needs to be installed for each
53-
framework, e.g. `vext.pyqt5 <https://pypi.python.org/pypi/vext.pyqt5>`_, etc.
54-
It is recommended to use ``vext>=0.7.0`` as earlier versions misconfigure the
55-
logging system.
49+
from within the venv to specific system-wide packages. A specific
50+
package needs to be installed for each framework, e.g. `vext.pyqt5
51+
<https://pypi.python.org/pypi/vext.pyqt5>`_, etc. It is recommended to use
52+
``vext>=0.7.0`` as earlier versions misconfigure the logging system.
5653

57-
- When using `virtualenv <https://virtualenv.pypa.io/>` (rather than the
58-
stdlib's ``venv``), using the ``--system-site-packages`` option when creating
59-
an environment adds all system-wide packages to the virtual environment.
60-
However, this breaks the isolation between the virtual environment and the
61-
system install. Among other issues it results in hard to debug problems
62-
with system packages shadowing the environment packages. If you use
63-
`virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/>`_, this can be
64-
toggled with the ``toggleglobalsitepackages`` command.
54+
- Using the ``--system-site-packages`` option when creating an environment
55+
adds all system-wide packages to the virtual environment. However, this
56+
breaks the isolation between the virtual environment and the system
57+
install. Among other issues it results in hard to debug problems with
58+
system packages shadowing the environment packages. If you use `virtualenv
59+
<https://virtualenv.pypa.io/>` (rather than the stdlib's ``venv``) together
60+
with `virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/>`_, this
61+
can be toggled with the ``toggleglobalsitepackages`` command.
6562

6663
If you are using Matplotlib on OSX, you may also want to consider the
6764
:ref:`OSX framework FAQ <osxframework-faq>`.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.