Installing¶
The module is known to pip and Debian-based distributions as
gerritlib
.
pip
:
pip install gerritlib
easy_install
:
easy_install gerritlib
The module has been packaged since Ubuntu Oneiric (11.10):
apt-get install gerritlib
And on Fedora 19 and later:
yum install gerritlib
For development:
python setup.py develop
Documentation¶
Documentation is included in the doc
folder. To generate docs
locally execute the command:
tox -e docs
The generated documentation is then available under
doc/build/html/index.html
.
Unit Tests¶
Unit tests are in the tests
folder.
To run the unit tests, execute the command:
tox -e py27
- Note: View
tox.ini
to run tests on other versions of Python.