use windows environment variable when indicating default path for pip.ini

Replace %HOME% with %USERPROFILE% when referencing commands line in
windows. This is already done in other part of the guide such as in
virtualenvwrapper.
This commit is contained in:
Mr-Io
2019-05-16 10:03:22 +02:00
parent 62654036f0
commit 20f0c9c2b7
+2 -2
View File
@@ -51,7 +51,7 @@ can be found at:
.. code-block:: console
%HOME%\pip\pip.ini
%USERPROFILE%\pip\pip.ini
If you don't have a :file:`pip.conf` or :file:`pip.ini` file at these locations,
you can create a new file with the correct name for your operating system.
@@ -122,7 +122,7 @@ add the following line to your :file:`pip.ini` file under ``[global]`` settings:
.. code-block:: console
download-cache = %HOME%\pip\cache
download-cache = %USERPROFILE%\pip\cache
Similarly, on Unix systems you should simply add the following line to your
:file:`pip.conf` file under ``[global]`` settings: