Fix the literal blocks
This commit is contained in:
parent
6926ff3f5b
commit
dadfce65bc
|
@ -85,23 +85,27 @@ Examples of Additional indexes with pip
|
||||||
**Invocation:**
|
**Invocation:**
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ pip install --extra-index-url https://pypi.example.com/ foobar
|
$ pip install --extra-index-url https://pypi.example.com/ foobar
|
||||||
|
|
||||||
**Shell Environment:**
|
**Shell Environment:**
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ export PIP_EXTRA_INDEX_URL=https://pypi.example.com/
|
$ export PIP_EXTRA_INDEX_URL=https://pypi.example.com/
|
||||||
$ pip install foobar
|
$ pip install foobar
|
||||||
|
|
||||||
**Requirements File:**
|
**Requirements File:**
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ echo "--extra-index-url https://pypi.example.com/\nfoobar" > requirements.txt
|
$ echo "--extra-index-url https://pypi.example.com/\nfoobar" > requirements.txt
|
||||||
$ pip install -r requirements.txt
|
$ pip install -r requirements.txt
|
||||||
|
|
||||||
**Virtual Environment:**
|
**Virtual Environment:**
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ python -m venv myvenv
|
$ python -m venv myvenv
|
||||||
$ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" > myvenv/pip.conf
|
$ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" > myvenv/pip.conf
|
||||||
$ myvenv/bin/pip install foobar
|
$ myvenv/bin/pip install foobar
|
||||||
|
@ -109,6 +113,7 @@ Examples of Additional indexes with pip
|
||||||
**User:**
|
**User:**
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" >~/.pip/pip.conf
|
$ echo "[global]\nextra-index-url = https://pypi.exmaple.com/" >~/.pip/pip.conf
|
||||||
$ pip install foobar
|
$ pip install foobar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue