From be727dbcf484aca756f50f2d6163f758a4ea7d17 Mon Sep 17 00:00:00 2001 From: Moritz Reiter Date: Sat, 17 Feb 2018 16:34:48 +0100 Subject: [PATCH] Update information about pip caching --- docs/dev/pip-virtualenv.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/dev/pip-virtualenv.rst b/docs/dev/pip-virtualenv.rst index f2457f1dc..50b69034c 100644 --- a/docs/dev/pip-virtualenv.rst +++ b/docs/dev/pip-virtualenv.rst @@ -96,9 +96,14 @@ that you use. For example, you may be using the ``requests`` library in a lot of different projects. It is surely unnecessary to re-download the same packages/libraries each time -you start working on a new project (and in a new virtual environment as a result). -Fortunately, you can configure pip in such a way that it tries to reuse already -installed packages. +you start working on a new project (and in a new virtual environment as a +result). Fortunately, starting with version 6.0, pip provides an `on-by-default +caching mechanism +`_ that doesn't +need any configuration. + +When using older versions, you can configure pip in such a way that it tries to +reuse already installed packages, too. On UNIX systems, you can add the following line to your :file:`.bashrc` or :file:`.bash_profile` file.