Commit 777d639a authored by Berker Peksag's avatar Berker Peksag

Issue #21034: Remove outdated paragraph from venv documentation

Since Python 3.4, there is no need to install pip and setuptools
into a venv manually.
parent e525ee3b
...@@ -43,11 +43,6 @@ Creating virtual environments ...@@ -43,11 +43,6 @@ Creating virtual environments
Common installation tools such as ``Setuptools`` and ``pip`` work as Common installation tools such as ``Setuptools`` and ``pip`` work as
expected with venvs - i.e. when a venv is active, they install Python expected with venvs - i.e. when a venv is active, they install Python
packages into the venv without needing to be told to do so explicitly. packages into the venv without needing to be told to do so explicitly.
Of course, you need to install them into the venv first: this could be
done by running ``ez_setup.py`` with the venv activated,
followed by running ``easy_install pip``. Alternatively, you could download
the source tarballs and run ``python setup.py install`` after unpacking,
with the venv activated.
When a venv is active (i.e. the venv's Python interpreter is running), the When a venv is active (i.e. the venv's Python interpreter is running), the
attributes :attr:`sys.prefix` and :attr:`sys.exec_prefix` point to the base attributes :attr:`sys.prefix` and :attr:`sys.exec_prefix` point to the base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment