mention having pip default to --user when itself installed in ~/.local
remove consideration of support for unnecessary installation options
This commit is contained in:
parent
4b638f9ddd
commit
af72a505a0
22
pep-0439.txt
22
pep-0439.txt
|
@ -109,22 +109,13 @@ The bootstrap process will proceed as follows:
|
|||
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 @@ implementation is installed:
|
|||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue