[Python-checkins] peps: mention having pip default to --user when itself installed in ~/.local

richard.jones python-checkins at python.org
Tue Jul 9 04:29:46 CEST 2013


http://hg.python.org/peps/rev/08a91307085f
changeset:   4987:08a91307085f
user:        Richard Jones <richard at mechanicalcat.net>
date:        Tue Jul 09 12:23:12 2013 +1000
summary:
  mention having pip default to --user when itself installed in ~/.local
remove consideration of support for unnecessary installation options

files:
  pep-0439.txt |  22 ++++++++--------------
  1 files changed, 8 insertions(+), 14 deletions(-)


diff --git a/pep-0439.txt b/pep-0439.txt
--- a/pep-0439.txt
+++ b/pep-0439.txt
@@ -109,22 +109,13 @@
 Users may be running in an environment which cannot access the public
 Internet and are relying solely on a local package repository.  They
 would use the "-i" (Base URL of Python Package Index) argument to the
-"pip3 install" command.  This use case will be handled by:
-
-1. Recognising the command-line arguments that specify alternative or
-   additional locations to discover packages and attempting to
-   download the package from those locations.
-2. If the package is not found there then we attempt to donwload it
-   using the standard "https://pypi.python.org/simple/pip/" index.
-3. If that also fails, for any reason, we indicate to the user the
-   operation we were attempting, the reason for failure (if we know
-   it) and display further instructions for downloading and installing
-   the file manually.
+"pip3 install" command. This simply overrides the default index URL pointing
+to PyPI.
 
 Some users may have no Internet access suitable for fetching the pip
-implementation file. Manual installation of the pip implementation will be
-supported through the manual download of the wheel file and "pip3 install
-<downloaded wheel file>".
+implementation file. These users can manually download and install the
+setuptools and pip tar files. Adding specific support for this use-case is
+unnecessary.
 
 The download of the pip implementation install file will be performed
 securely.  The transport from pypi.python.org will be done over HTTPS with the
@@ -148,6 +139,9 @@
 These command-line options will also need to be implemented, but otherwise
 ignored, in the pip implementation.
 
+Consideration should be given to defaulting pip to install packages to the
+user's packages directory if pip is installed in that location.
+
 The "--no-install" option to the "pip3" command will not affect the
 bootstrapping process.
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list