]> git.phdru.name Git - mimedecode.git/blob - INSTALL.txt
Cleanup: Fix flake8 E128 continuation line under-indented for visual indent
[mimedecode.git] / INSTALL.txt
1 mimedecode requires Python2.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 Installation using pip:
10
11     System-wide:
12
13     sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
14
15     User mode:
16
17     pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user mimedecode
18
19     Virtual envs:
20
21     pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode
22
23 Installation from sources:
24
25     To install the program from sources system-wide run run the following
26     command:
27
28     sudo python setup.py install -O2
29
30     If you don't want to install it system-wide you can install it in your
31     home directory; run run the following command:
32
33     python setup.py install -O2 --user
34
35 Option '--user' installs library parts into
36 $HOME/.local/lib/python2.$VERSION/site-packages/. It also installs
37 mimedecode script into $HOME/.local/bin; add the directory to your $PATH
38 or move the script to a directory in your $PATH.