Skip to content

Commit 7523a61

Browse files
author
Gauvain Pocentek
committed
Document installation using pip and git
1 parent 0ee53e0 commit 7523a61

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Contents:
1111
.. toctree::
1212
:maxdepth: 2
1313

14+
install
1415
cli
1516
usage
1617
api/gitlab

docs/install.rst

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
############
2+
Installation
3+
############
4+
5+
``python-gitlab`` is compatible with python 2 and 3.
6+
7+
Use :command:`pip` to install the latest stable version of ``python-gitlab``:
8+
9+
.. code-block:: console
10+
11+
$ pip install --upgrade python-gitlab
12+
13+
The current development version is available on `github
14+
<https://github.com/gpocentek/python-gitlab>`__. Use :command:`git` and
15+
:command:`pip` to install it:
16+
17+
.. code-block:: console
18+
19+
$ git clone https://github.com/gpocentek/python-gitlab
20+
$ cd python-gitlab
21+
$ python setup.py install

0 commit comments

Comments
 (0)