]> git.phdru.name Git - mimedecode.git/blob - INSTALL.txt
Upgrade ez_setup.py
[mimedecode.git] / INSTALL.txt
1 mimedecode requires Python2; preferred versions are 2.6 or 2.7.
2
3 Installation script setup.py requires setuptools. If you don't have it
4 installed setup.py will try to download and install it.
5
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.
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 library parts into $HOME/.local/lib/python2.$VERSION/site-packages/
21 where python finds it.
22
23 It also installs mimedecode script into $HOME/.local/bin; add the
24 directory to your $PATH or move the script to a directory in your $PATH.
25
26 Installation using pip:
27
28    [sudo] pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' [--user] mimedecode