Enis Afgan 7 лет назад
Родитель
Сommit
87ede74d8a
1 измененных файлов с 13 добавлено и 12 удалено
  1. 13 12
      docs/topics/install.rst

+ 13 - 12
docs/topics/install.rst

@@ -1,7 +1,8 @@
 Installation
 ============
 
-**Prerequisites**: CloudBridge runs on Python 2.7 and higher. Python 3 is recommended.
+**Prerequisites**: CloudBridge runs on Python 2.7 and higher. Python 3 is
+recommended.
 
 We highly recommend installing CloudBridge in a
 `virtualenv <http://virtualenv.readthedocs.org/>`_. Creating a new virtualenv
@@ -13,20 +14,18 @@ is simple:
     virtualenv .venv
     source .venv/bin/activate
 
-Latest release
---------------
-The latest release of cloudbridge can be installed from PyPI::
+Latest stable release
+---------------------
+The latest release of CloudBridge can be installed from PyPI::
 
     pip install cloudbridge
 
 Latest unreleased dev version
 -----------------------------
-The development version of the library can be installed from the
-`Github repo <https://github.com/CloudVE/cloudbridge>`_::
+The development version of the library can be installed directly from the
+`GitHub repo <https://github.com/CloudVE/cloudbridge>`_::
 
-    $ git clone https://github.com/CloudVE/cloudbridge.git
-    $ cd cloudbridge
-    $ python setup.py install
+    $ pip install --upgrade git+https://github.com/CloudVE/cloudbridge.git
 
 Developer installation
 ----------------------
@@ -34,10 +33,12 @@ To install additional libraries required by CloudBridge contributors, such as
 `tox <https://tox.readthedocs.org/en/latest/>`_, clone the source code
 repository and run the following command from the repository root directory::
 
-    pip install -U -e .[dev]
-
-----------
+    $ git clone https://github.com/CloudVE/cloudbridge.git
+    $ cd cloudbridge
+    $ pip install --upgrade --editable .[dev]
 
+Checking installation
+---------------------
 To check what version of the library you have installed, do the following::
 
     import cloudbridge