diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-06-28 22:57:57 +0200 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-09-12 13:56:10 +0200 |
commit | f5bf0d65ed07d1f1adc1af002d461d5426d7b59c (patch) | |
tree | 7ce8c611f7721149ee1681c6180969bab8dc7157 | |
parent | 896c2de7899378c9f8fa6d08888dacd3e5f44603 (diff) | |
download | gitlab-docs/cleanup-history.tar.gz |
chore: clean up install docsdocs/cleanup-history
-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 |