Fix the literal blocks

This commit is contained in:
Donald Stufft 2014-05-14 10:58:03 -04:00
parent 6926ff3f5b
commit dadfce65bc
1 changed files with 20 additions and 15 deletions

View File

@ -84,31 +84,36 @@ Examples of Additional indexes with pip
**Invocation:**
::
::
$ pip install --extra-index-url https://pypi.example.com/ foobar
**Shell Environment:**
::
::
$ export PIP_EXTRA_INDEX_URL=https://pypi.example.com/
$ pip install foobar
**Requirements File:**
::
::
$ echo "--extra-index-url https://pypi.example.com/\nfoobar" > requirements.txt
$ pip install -r requirements.txt
**Virtual Environment:**
::
::
$ python -m venv myvenv
$ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" > myvenv/pip.conf
$ myvenv/bin/pip install foobar
**User:**
::
::
$ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" >~/.pip/pip.conf
$ pip install foobar