Skip to content

Commit

Permalink
Add pyserial as depedency.
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeTux committed May 4, 2016
1 parent c2036f2 commit 5776329
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyserial==3.0.1
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
'umodbus.client',
'umodbus.client.serial',
],
install_requires=[
'pyserial>=3.0.1',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
Expand Down
2 changes: 1 addition & 1 deletion umodbus/client/serial/rtu.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import struct
from serial.exceptions import SerialTimeoutException
from serial import SerialTimeoutException

from umodbus.client.serial.redundancy_check import get_crc, validate_crc
from umodbus._functions import (create_function_from_response_pdu, ReadCoils,
Expand Down

0 comments on commit 5776329

Please sign in to comment.