]> git.phdru.name Git - m_lib.git/blob - INSTALL.txt
42fd7fa3ada6726ab545877c4effffe767daf37a
[m_lib.git] / INSTALL.txt
1 m_lib 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 --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' m_lib
11
12     User mode:
13
14     pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' --user m_lib
15
16     For Python 2.6 the command is easy_install.
17
18 Installation from sources:
19
20     To install the library from sources system-wide run run the following
21     command:
22
23     sudo python setup.py install -O2
24
25     If you don't want to install it system-wide you can install it in your
26     home directory; run run the following command:
27
28     python setup.py install -O2 --user
29
30 Option '--user' installs m_lib into
31 $HOME/.local/lib/python2.$VERSION/site-packages/ where python finds it
32 automatically.