docs/install: simplify pip user/system table

The removal of shell prompts and switch to proper shell lexers enables
having comments in the code blocks
This commit is contained in:
bastimeyer 2019-02-02 12:20:02 +01:00
parent 991cd6410b
commit 4e2c941b0b
1 changed files with 9 additions and 21 deletions

View File

@ -188,42 +188,30 @@ Using :command:`easy_install` is no longer recommended.
==================================== ===========================================
Version Installing
==================================== ===========================================
`Latest release (pip)`_ Current user
.. code-block:: bash
`Latest release (pip)`_ .. code-block:: bash
# Current user
pip install --upgrade --user streamlink
System wide
.. code-block:: bash
# System wide
sudo pip install --upgrade streamlink
`Development version (pip)`_ Current user
.. code-block:: bash
`Development version (pip)`_ .. code-block:: bash
# Current user
pip install --upgrade --user git+https://github.com/streamlink/streamlink.git
System wide
.. code-block:: bash
# System wide
sudo pip install --upgrade git+https://github.com/streamlink/streamlink.git
`Development version (git)`_ Current user
.. code-block:: bash
`Development version (git)`_ .. code-block:: bash
# Current user
git clone https://github.com/streamlink/streamlink.git
cd streamlink
python setup.py install --user
System wide
.. code-block:: bash
# System wide
git clone https://github.com/streamlink/streamlink.git
cd streamlink
sudo python setup.py install