1 mimedecode requires Python2.7 or 3.4+.
3 Installation script setup.py requires setuptools.
5 mimedecode requires m_lib library. If you don't have it installed
6 setup.py will try to download and install it after installing mimedecode.
8 Installation using pip:
12 sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
16 pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user mimedecode
20 pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
22 Installation from sources:
24 To install the program from sources system-wide run run the following
27 sudo python setup.py install -O2
29 If you don't want to install it system-wide you can install it in your
30 home directory; run run the following command:
32 python setup.py install -O2 --user
34 Option '--user' installs library parts into
35 $HOME/.local/lib/python2.$VERSION/site-packages/. It also installs
36 mimedecode script into $HOME/.local/bin; add the directory to your $PATH
37 or move the script to a directory in your $PATH.