docs: simplify install instructions

We only need pip3 now on all OSes as cryptography now ships wheels on Linux 🎉.
Also remove `pip3 install --user` recommendation because that won't end up on $PATH.
This commit is contained in:
Maximilian Hils 2017-08-15 14:19:51 +02:00
parent 96c8c75ce6
commit ad42e9ce96

View File

@ -85,8 +85,8 @@ libraries. This was tested on a fully patched installation of Ubuntu 16.04.
.. code:: bash .. code:: bash
sudo apt-get install python3-dev python3-pip libffi-dev libssl-dev sudo apt-get install python3-pip
sudo pip3 install mitmproxy # or pip3 install --user mitmproxy sudo pip3 install mitmproxy
On older Ubuntu versions, e.g., **12.04** and **14.04**, you may need to install On older Ubuntu versions, e.g., **12.04** and **14.04**, you may need to install
a newer version of Python. mitmproxy requires Python 3.5 or higher. Please take a newer version of Python. mitmproxy requires Python 3.5 or higher. Please take
@ -104,8 +104,8 @@ libraries. This was tested on a fully patched installation of Fedora 24.
.. code:: bash .. code:: bash
sudo dnf install make gcc redhat-rpm-config python3-devel python3-pip libffi-devel openssl-devel sudo dnf install python3-pip
sudo pip3 install mitmproxy # or pip3 install --user mitmproxy sudo pip3 install mitmproxy
Make sure to have an up-to-date version of pip by running ``pip3 install -U pip``. Make sure to have an up-to-date version of pip by running ``pip3 install -U pip``.
@ -121,7 +121,7 @@ You can check you Python version by running ``python3 --version``.
.. code:: bash .. code:: bash
sudo zypper install python3-pip python3-devel libffi-devel openssl-devel gcc-c++ sudo zypper install python3-pip
sudo pip3 install mitmproxy sudo pip3 install mitmproxy