get-pip.py option examples

Conflicts:
	docs/installing.rst
This commit is contained in:
Marcus Smith 2014-04-08 22:57:22 -07:00
parent f78d128af8
commit 24952b32d3
2 changed files with 17 additions and 1 deletions

View File

@ -30,11 +30,26 @@ Then run the following (which may require administrator access)::
If `setuptools`_ (or `distribute`_) is not already installed, ``get-pip.py`` will
install `setuptools`_ for you. [2]_
To upgrade an existing `setuptools`_ (or `distribute`_), run ``pip install -U setuptools`` [3]_
Additionally, ``get-pip.py`` supports using the :ref:`pip install options <pip
install Options>` and the :ref:`General Options`. Below are some examples:
::
# Install from local copies of pip and setuptools
python get-pip.py --no-index --find-links=/local/copies
# Install to the user site
python get-pip.py --user
# Install behind a proxy
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
To enable the use of pip from the command line, ensure the ``Scripts`` subdirectory of
your Python installation is available on the system PATH. (This is not done automatically.)
To upgrade an existing `setuptools`_ (or `distribute`_), run ``pip install -U setuptools`` [3]_
Upgrade pip
-----------

View File

@ -338,6 +338,7 @@ To have the dependency located from a local directory and not crawl PyPI, add th
find_links = file:///path/to/local/archives
.. _`pip install Options`:
Options
*******