]> git.phdru.name Git - mimedecode.git/blob - INSTALL.txt
Document that setup.py now uses setuptools
[mimedecode.git] / INSTALL.txt
1 mimedecode requires Python2; preferred versions are 2.6 or 2.7.
2 mimedecode requires m_lib library.
3
4 First install m_lib.
5
6 Installation script setup.py requires setuptools. If you don't have it
7 installed setup.py will try to download and install it.
8
9 To install the program from sources system-wide run run the following
10 command:
11
12    sudo python setup.py install -O2
13
14 If you don't want to install it system-wide you can install it in your
15 home directory; run run the following command:
16
17    python setup.py install -O2 --user
18
19 Option '--user' only available in Python 2.6 or 2.7. The command
20 installs mimedecode into $HOME/.local/bin; add the directory to your
21 $PATH.
22
23 Or you can simple drop mimedecode.py somewhere in your $PATH.