]> git.phdru.name Git - m_lib.defenc.git/blob - INSTALL.txt
Add installation instructions
[m_lib.defenc.git] / INSTALL.txt
1 m_lib.defenc requires Python 2.6, 2.7 or 3.4+.
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 Installation using pip:
7
8     System-wide:
9
10     sudo pip install m_lib.defenc
11
12     User mode:
13
14     pip install --user m_lib.defenc
15
16     Virtual environments:
17
18     pip install user m_lib.defenc
19
20     For Python 2.6 the command is easy_install.
21
22 Installation from sources:
23
24     To install the library 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 Option '--user' installs m_lib.defenc into
35 $HOME/.local/lib/python$MAJOR.$MINOR/site-packages/ where python finds it
36 automatically.