]> git.phdru.name Git - sqlconvert.git/blob - docs/install.rst
Update installation instruction: fix trusted host
[sqlconvert.git] / docs / install.rst
1 Installation using pip
2 ======================
3
4 System-wide
5 -----------
6
7 ::
8
9     sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' sqlconvert
10
11
12 User mode
13 ---------
14
15 ::
16
17     pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user sqlconvert
18
19 For Python 2.6 the command is easy_install.
20
21 Installation from sources
22 =========================
23
24 To install the library from sources system-wide run run the following
25 command:
26
27 ::
28
29     sudo python setup.py install -O2
30
31 If you don't want to install it system-wide you can install it in your
32 home directory; run run the following command:
33
34 ::
35
36     python setup.py install -O2 --user
37
38 Option '--user' installs sqlconvert into
39 $HOME/.local/lib/python$MAJOR.$MINOR/site-packages/ where python finds it
40 automatically. It also installs sqlconvert scripts into $HOME/.local/bin;
41 add the directory to your $PATH or move the scripts to a directory in your
42 $PATH.