diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-06-28 22:57:57 +0200 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2021-09-12 16:47:10 -0700 |
commit | a5d8b7f2a9cf019c82bef1a166d2dc24f93e1992 (patch) | |
tree | 7ce8c611f7721149ee1681c6180969bab8dc7157 | |
parent | 90da8ba0342ebd42b8ec3d5b0d4c5fbb5e701117 (diff) | |
download | gitlab-a5d8b7f2a9cf019c82bef1a166d2dc24f93e1992.tar.gz |
chore: clean up install docs
-rw-r--r-- | docs/install.rst | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/docs/install.rst b/docs/install.rst index 2a91372..acd2528 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -8,14 +8,19 @@ Use :command:`pip` to install the latest stable version of ``python-gitlab``: .. code-block:: console - $ sudo pip install --upgrade python-gitlab + $ 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: +The current development version is available on both `GitHub.com +<https://github.com/python-gitlab/python-gitlab>`__ and `GitLab.com +<https://gitlab.com/python-gitlab/python-gitlab>`__, and can be +installed directly from the git repository: .. code-block:: console - $ git clone https://github.com/python-gitlab/python-gitlab - $ cd python-gitlab - $ sudo python setup.py install + $ pip install git+https://github.com/python-gitlab/python-gitlab.git + +From GitLab: + +.. code-block:: console + + $ pip install git+https://gitlab.com/python-gitlab/python-gitlab.git |