diff options
author | Tim Kelsey <tim.kelsey@hp.com> | 2014-06-05 14:03:37 +0100 |
---|---|---|
committer | Tim Kelsey <tim.kelsey@hp.com> | 2014-06-13 14:31:45 +0100 |
commit | b2c64e45d58e5dfcd98dd353ad9a6f32efd4134f (patch) | |
tree | 81c94ba8bf50819b9db568b7ed89b14a867210ea /doc/source | |
parent | 06224bcd735a814b78f7c6ffffc1075cced25503 (diff) | |
download | oslo-db-b2c64e45d58e5dfcd98dd353ad9a6f32efd4134f.tar.gz |
Adding dependency documentation for MySQL.
Merging change I347e1c235bc82d6e510761f4b1c3c3de62994c2f fixing pip
info.
Co-Authored-By: Gauvain Pocentek <gauvain.pocentek@objectif-libre.com>
Change-Id: I9a1b76ed261c69a92cc3e4e6b6100e43f98fea1e
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/installation.rst | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 5c01c7a..254bd9b 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -4,9 +4,30 @@ Installation At the command line:: - $ pip install + $ pip install oslo.db Or, if you have virtualenvwrapper installed:: - $ mkvirtualenv - $ pip install
\ No newline at end of file + $ mkvirtualenv + $ pip install oslo.db + +You will also need to install at least one SQL backend:: + + $ pip install MySQL-python + +Or:: + + $ pip install pysqlite + +Using with MySQL +---------------- + +If using MySQL make sure to install the MySQL client development package for +your distro. On Ubuntu this is done as follows:: + + $ sudo apt-get install libmysqlclient-dev + $ pip install MySQL-python + +The installation of MySQL-python will fail if libmysqlclient-dev is not +installed first. Note that even in a virtual environment the MySQL package will +be installed system wide.
\ No newline at end of file |