Skip to content

Commit be727db

Browse files
committed
Update information about pip caching
1 parent fc40b57 commit be727db

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/dev/pip-virtualenv.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,14 @@ that you use. For example, you may be using the ``requests`` library in a lot
9696
of different projects.
9797

9898
It is surely unnecessary to re-download the same packages/libraries each time
99-
you start working on a new project (and in a new virtual environment as a result).
100-
Fortunately, you can configure pip in such a way that it tries to reuse already
101-
installed packages.
99+
you start working on a new project (and in a new virtual environment as a
100+
result). Fortunately, starting with version 6.0, pip provides an `on-by-default
101+
caching mechanism
102+
<https://pip.pypa.io/en/stable/reference/pip_install/#caching>`_ that doesn't
103+
need any configuration.
104+
105+
When using older versions, you can configure pip in such a way that it tries to
106+
reuse already installed packages, too.
102107

103108
On UNIX systems, you can add the following line to your :file:`.bashrc` or
104109
:file:`.bash_profile` file.

0 commit comments

Comments
 (0)