summaryrefslogtreecommitdiff
path: root/docs/install.rst
blob: 4998320722d0a731c109b47e16736afb07597fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
############
Installation
############

``python-gitlab`` is compatible with Python 2.7 and 3.4+.

Use :command:`pip` to install the latest stable version of ``python-gitlab``:

.. code-block:: console

   $ sudo pip install --upgrade python-gitlab

The current development version is available on `github
<https://github.com/python-gitlab/python-gitlab>`__. Use :command:`git` and
:command:`python setup.py` to install it:

.. code-block:: console

   $ git clone https://github.com/python-gitlab/python-gitlab
   $ cd python-gitlab
   $ sudo python setup.py install