]> git.phdru.name Git - mimedecode.git/blob - INSTALL.txt
Docs: Fix INSTALL.txt
[mimedecode.git] / INSTALL.txt
1 mimedecode requires Python2.7 or 3.4+.
2
3 Installation script setup.py requires setuptools.
4
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.
7
8 Installation using pip:
9
10     System-wide:
11
12     sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
13
14     User mode:
15
16     pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user mimedecode
17
18     Virtual envs:
19
20     pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
21
22 Installation from sources:
23
24     To install the program from sources system-wide run run the following
25     command:
26
27     sudo python setup.py install -O2
28
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:
31
32     python setup.py install -O2 --user
33
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.