Installation

From Ubuntu Package via PPA

  1. Install utility
sudo apt-get install python-software-properties
  1. Add the PPA
sudo apt-add-repository ppa:libra-core/ppa
  1. Update the package indexes
sudo apt-get update
  1. Install packages
sudo apt-get install python-libraclient

From PyPI

The python-libraclient package is published on PyPI and so can be installed using the pip tool, which will manage installing all python dependencies.

Note

The pip tool isn’t bundled by default with some versions of the different distributions, please install it typically using a package manager for the platform you use.

Note

Needs to be done in a Virtual Environment or as root.

pip install python-libraclient

Warning

The packages on PyPI may lag behind the git repo in functionality.

Setup the client from source

If you want the latest version, straight from github:

git clone git@github.com:stackforge/python-libraclient.git
cd python-libraclient
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt -r test-requirements.txt
python setup.py install

Setup the client in development mode

Installing in development mode allows your to make changes to the source code & test directly without having to re-run the “python setup.py install” step. You can find out more about this in the Development Mode online docs.

git clone git@github.com:stackforge/python-libraclient.git
cd python-libraclient
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt -r test-requirements.txt
python setup.py develop