From 20f0c9c2b7b08e5c9bc008c5029b36bc29a5700c Mon Sep 17 00:00:00 2001 From: Mr-Io Date: Thu, 16 May 2019 10:03:22 +0200 Subject: [PATCH] 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. --- docs/dev/pip-virtualenv.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/pip-virtualenv.rst b/docs/dev/pip-virtualenv.rst index 61a777a..ee22307 100644 --- a/docs/dev/pip-virtualenv.rst +++ b/docs/dev/pip-virtualenv.rst @@ -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: