]> git.phdru.name Git - mimedecode.git/blob - INSTALL.txt
Build(GHActions): Use `checkout@v4` instead of outdated `v2`
[mimedecode.git] / INSTALL.txt
1 mimedecode requires Python 2.7 or 3.4+.
2
3 Installation script setup.py requires setuptools.
4
5 mimedecode requires m_lib.defenc library. If you don't have it installed
6 setup.py will try to download and install it before installing mimedecode.
7
8 Installation using pip:
9
10     System-wide:
11
12     sudo pip install --trusted-host phdru.name --find-links=https://phdru.name/Software/Python/ mimedecode
13
14     User mode:
15
16     pip install --trusted-host phdru.name --find-links=https://phdru.name/Software/Python/ --user mimedecode
17
18     Virtual envs:
19
20     pip install --trusted-host phdru.name --find-links=https://phdru.name/Software/Python/ 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
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 --user
33
34     Virtual envs:
35
36     python setup.py install
37
38 Option '--user' installs library parts into
39 $HOME/.local/lib/python2.$VERSION/site-packages/. It also installs
40 mimedecode script into $HOME/.local/bin; add the directory to your $PATH
41 or move the script to a directory in your $PATH.