mimedecode requires Python2; preferred versions are 2.6 or 2.7.
-mimedecode requires m_lib library.
-First install m_lib.
+Installation script setup.py requires setuptools. If you don't have it
+installed setup.py will try to download and install it.
+
+mimedecode requires m_lib library. If you don't have it installed
+setup.py will try to download and install it after installing mimedecode.
To install the program from sources system-wide run run the following
command:
python setup.py install -O2 --user
Option '--user' only available in Python 2.6 or 2.7. The command
-installs mimedecode into $HOME/.local/bin; add the directory to your
-$PATH.
+installs library parts into $HOME/.local/lib/python2.$VERSION/site-packages/
+where python finds it.
+
+It also installs mimedecode script into $HOME/.local/bin; add the
+directory to your $PATH or move the script to a directory in your $PATH.
+
+Installation using pip:
-Or you can simple drop mimedecode.py somewhere in your $PATH.
+ pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' [--user] mimedecode