-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL.txt
More file actions
41 lines (24 loc) · 1.21 KB
/
INSTALL.txt
File metadata and controls
41 lines (24 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
mimedecode requires Python 2.7 or 3.4+.
Installation script setup.py requires setuptools.
mimedecode requires m_lib_defenc library. If you don't have it installed
setup.py will try to download and install it before installing mimedecode.
Installation using pip:
System-wide:
sudo pip install --trusted-host phdru.name --find-links=https://phdru.name/Software/Python/ mimedecode
User mode:
pip install --trusted-host phdru.name --find-links=https://phdru.name/Software/Python/ --user mimedecode
Virtual envs:
pip install --trusted-host phdru.name --find-links=https://phdru.name/Software/Python/ mimedecode
Installation from sources:
To install the program from sources system-wide run run the following
command:
sudo python setup.py install
If you don't want to install it system-wide you can install it in your
home directory; run run the following command:
python setup.py install --user
Virtual envs:
python setup.py install
Option '--user' installs library parts into
$HOME/.local/lib/python2.$VERSION/site-packages/. It also installs
mimedecode script into $HOME/.local/bin; add the directory to your $PATH
or move the script to a directory in your $PATH.