# Installation

uModbus has been tested on Python 2.7 and Python 3.3+.

## As package

uModbus is available on Pypi and can be installed through Pip:

    $ pip install umodbus

Or you can install from source using setup.py:

    $ python setup.py install

## For development, debugging and testing

uModbus has no runtime dependencies. However to run the the tests or build the documentation some dependencies are required. They are listed in dev_requirements.txt and can be installed through Pip:

    $ pip install -r dev_requirements.txt

Now you can build the docs:

    $ sphinx-build -b html docs/source docs/build

Or run the tests:

    $ py.test tests