|
@@ -1,7 +1,8 @@
|
|
|
Installation
|
|
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
|
|
We highly recommend installing CloudBridge in a
|
|
|
`virtualenv <http://virtualenv.readthedocs.org/>`_. Creating a new virtualenv
|
|
`virtualenv <http://virtualenv.readthedocs.org/>`_. Creating a new virtualenv
|
|
@@ -13,20 +14,18 @@ is simple:
|
|
|
virtualenv .venv
|
|
virtualenv .venv
|
|
|
source .venv/bin/activate
|
|
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
|
|
pip install cloudbridge
|
|
|
|
|
|
|
|
Latest unreleased dev version
|
|
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
|
|
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
|
|
`tox <https://tox.readthedocs.org/en/latest/>`_, clone the source code
|
|
|
repository and run the following command from the repository root directory::
|
|
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::
|
|
To check what version of the library you have installed, do the following::
|
|
|
|
|
|
|
|
import cloudbridge
|
|
import cloudbridge
|