Skip to content

Commit a5d8b7f

Browse files
nejchJohnVillalovos
authored andcommitted
chore: clean up install docs
1 parent 90da8ba commit a5d8b7f

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

docs/install.rst

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ Use :command:`pip` to install the latest stable version of ``python-gitlab``:
88

99
.. code-block:: console
1010
11-
$ sudo pip install --upgrade python-gitlab
11+
$ pip install --upgrade python-gitlab
1212
13-
The current development version is available on `github
14-
<https://github.com/python-gitlab/python-gitlab>`__. Use :command:`git` and
15-
:command:`python setup.py` to install it:
13+
The current development version is available on both `GitHub.com
14+
<https://github.com/python-gitlab/python-gitlab>`__ and `GitLab.com
15+
<https://gitlab.com/python-gitlab/python-gitlab>`__, and can be
16+
installed directly from the git repository:
1617

1718
.. code-block:: console
1819
19-
$ git clone https://github.com/python-gitlab/python-gitlab
20-
$ cd python-gitlab
21-
$ sudo python setup.py install
20+
$ pip install git+https://github.com/python-gitlab/python-gitlab.git
21+
22+
From GitLab:
23+
24+
.. code-block:: console
25+
26+
$ pip install git+https://gitlab.com/python-gitlab/python-gitlab.git

0 commit comments

Comments
 (0)