1 mimedecode requires Python2; preferred versions are 2.6 or 2.7.
3 Installation script setup.py requires setuptools. If you don't have it
4 installed setup.py will try to download and install it.
6 mimedecode requires m_lib library. If you don't have it installed
7 setup.py will try to download and install it after installing mimedecode.
9 Installation using pip:
13 sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
17 pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user mimedecode
19 Installation from sources:
21 To install the program from sources system-wide run run the following
24 sudo python setup.py install -O2
26 If you don't want to install it system-wide you can install it in your
27 home directory; run run the following command:
29 python setup.py install -O2 --user
31 Option '--user' installs library parts into
32 $HOME/.local/lib/python2.$VERSION/site-packages/. It also installs
33 mimedecode script into $HOME/.local/bin; add the directory to your $PATH
34 or move the script to a directory in your $PATH.