Version 1.0.3
[linpy.git] / doc / install.rst
1
2 .. _install:
3
4 Installation
5 ============
6
7
8 .. _install_dep:
9
10 Dependencies
11 ------------
12
13 LinPy requires Python version 3.4 or above to work.
14
15 LinPy's one mandatory dependency is `isl <http://isl.gforge.inria.fr/>`_ version 0.12 or 0.13 (it may work with other versions of isl, but this has not been tested).
16 isl can be downloaded `here <http://freshmeat.net/projects/isl/>`_ or preferably, using your favorite package manager.
17 For Debian or Ubuntu, the command to run is::
18
19 sudo apt-get install libisl-dev
20
21 Apart from isl, there are two optional dependencies that will maximize the use of LinPy's functions: `SymPy <http://sympy.org/en/index.html>`_ and `matplotlib <http://matplotlib.org/>`_.
22 Please consult the `SymPy download page <http://sympy.org/en/download.html>`_ and `matplotlib installation instructions <http://matplotlib.org/faq/installing_faq.html#how-to-install>`_ to install these libraries.
23
24
25 .. _install_pip:
26
27 Install Using pip
28 -----------------
29
30 This is the recommanded way to install LinPy, with the command::
31
32 sudo pip install linpy
33
34
35 .. _install_source:
36
37 Install From Source
38 -------------------
39
40 Alternatively, LinPy can be installed from source.
41 First, clone the public git repository::
42
43 git clone https://scm.cri.mines-paristech.fr/git/linpy.git
44
45 and build and install as usual with::
46
47 sudo python3 setup.py install