From dadfce65bc7eb1086ed955c26abdf4059ff0f4c7 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Wed, 14 May 2014 10:58:03 -0400 Subject: [PATCH] Fix the literal blocks --- pep-0470.txt | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/pep-0470.txt b/pep-0470.txt index 28d7f9787..715197b70 100644 --- a/pep-0470.txt +++ b/pep-0470.txt @@ -84,33 +84,38 @@ Examples of Additional indexes with pip **Invocation:** - :: - $ pip install --extra-index-url https://pypi.example.com/ foobar +:: + + $ pip install --extra-index-url https://pypi.example.com/ foobar **Shell Environment:** - :: - $ export PIP_EXTRA_INDEX_URL=https://pypi.example.com/ - $ pip install foobar +:: + + $ 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 +:: + + $ 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 +:: + + $ 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 +:: + + $ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" >~/.pip/pip.conf + $ pip install foobar External Links on the Simple Installer API