File: installation.rst

package info (click to toggle)
python-umodbus 1.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 456 kB
  • sloc: python: 1,944; makefile: 166; sh: 5
file content (41 lines) | stat: -rw-r--r-- 1,088 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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


.. External references:
.. _dev_requirements.txt: https://github.com/AdvancedClimateSystems/uModbus/blob/develop/dev_requirements.txt
.. _Pypi: https://pypi.python.org/pypi/uModbus
.. _Pip: https://pip.readthedocs.org/en/stable/
.. _source: https://github.com/AdvancedClimateSystems/umodbus
.. _tested: https://travis-ci.org/AdvancedClimateSystems/uModbus