Fix typo in README.rst
[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 For Arch Linux, run::
22
23 sudo pacman -S isl
24
25 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/>`_.
26 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.
27
28
29 .. _install_pip:
30
31 Install Using pip
32 -----------------
33
34 .. warning::
35
36 The project has not been published in PyPI yet, so this section is not relevant.
37 Instead, see the :ref:`install_source` section to install LinPy.
38
39 LinPy can be installed using pip with the command::
40
41 sudo pip install linpy
42
43
44 .. _install_source:
45
46 Install From Source
47 -------------------
48
49 Alternatively, LinPy can be installed from the source.
50 First, clone the public git repository::
51
52 git clone https://scm.cri.mines-paristech.fr/git/linpy.git
53
54 and build and install as usual with::
55
56 sudo python3 setup.py install