]> git.phdru.name Git - ppu.git/blob - docs/install.rst
3631c261fc74b968f675f8b24b46c144069f7005
[ppu.git] / docs / install.rst
1 Installation using pip
2 ======================
3
4 System-wide
5 -----------
6
7 ::
8
9     sudo pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' ppu
10
11 User mode
12 ---------
13
14 ::
15
16     pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' --user ppu
17
18 Installation from sources
19 =========================
20
21 To install the library from sources system-wide run run the following
22 command:
23
24 ::
25
26     sudo python setup.py install -O2
27
28 If you don't want to install it system-wide you can install it in your
29 home directory; run run the following command:
30
31 ::
32
33     python setup.py install -O2 --user
34
35 Option '--user' installs scripts into $HOME/.local/bin;
36 add the directory to your $PATH or move the script to a directory in your
37 $PATH.