This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jurko.Gospodnetić
Recipients Jurko.Gospodnetić, docs@python
Date 2014-03-23.08:48:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395564519.98.0.0028723182567.issue21034@psf.upfronthosting.co.za>
In-reply-to
Content
In the Python documentation note:

  http://docs.python.org/3.4/library/venv.html#venv-def

the paragraph:

> Common installation tools such as Distribute and pip work
> as 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. Of course, you need to
> install them into the venv first: this could be done by
> running distribute_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.

refers to the Distribute package and its specifics (how it
should be installed) but that package has been deprecated
in favor of the setuptools package. I suggest to change it
to something like:

> Common installation tools such as setuptools and pip work
> as 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. Of course, you need to
> install them into the venv first: this could be done by
> running setuptools project's 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.

I'm attaching a patch based on the current tip in CPython's
development repository.

Hope this helps.

Best regards,
  Jurko Gospodnetić
History
Date User Action Args
2014-03-23 08:48:40Jurko.Gospodnetićsetrecipients: + Jurko.Gospodnetić, docs@python
2014-03-23 08:48:39Jurko.Gospodnetićsetmessageid: <1395564519.98.0.0028723182567.issue21034@psf.upfronthosting.co.za>
2014-03-23 08:48:39Jurko.Gospodnetićlinkissue21034 messages
2014-03-23 08:48:39Jurko.Gospodnetićcreate