Merge pull request #5574 from javabrett/proxy-doc

Added User Guide section on proxy configuration.
This commit is contained in:
Pradyun Gedam 2018-07-15 18:04:11 +05:30 committed by GitHub
commit 067dd8c2c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View File

@ -51,6 +51,20 @@ For more information and examples, see the :ref:`pip install` reference.
.. _`Requirements Files`:
Using a Proxy Server
********************
When installing packages from `PyPI`_, pip requires internet access, which
in many corporate environments requires an outbound HTTP proxy server.
pip can be configured to connect through a proxy server in various ways:
* using the ``--proxy`` command-line option to specify a proxy in the form
``[user:passwd@]proxy.server:port``
* using ``proxy`` in a :ref:`config-file`
* by setting the standard environment-variables ``http_proxy``, ``https_proxy``
and ``no_proxy``.
Requirements Files
******************

1
news/512.doc Normal file
View File

@ -0,0 +1 @@
Adding documentation for making pip use a proxy server

1
news/5574.doc Normal file
View File

@ -0,0 +1 @@
Adding documentation for making pip use a proxy server