Skip to content

Commit

Permalink
move package version into __init__.py
Browse files Browse the repository at this point in the history
version is of the package, not the PLC class.  changed to be __version__
  • Loading branch information
ottowayi authored and dmroeder committed Mar 7, 2019
1 parent f2f1226 commit 4a96dd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pylogix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
from .lgxDevice import LGXDevice
from .eip import PLC
__version_info__ = (0, 3, 0)
__version__ = '.'.join(str(x) for x in __version_info__)
1 change: 0 additions & 1 deletion pylogix/eip.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def __init__(self):
self.KnownTags = {}
self.TagList = []
self.StructIdentifier = 0x0fCE
self.Version = '0.3.0'
self.CIPTypes = {160:(88 ,"STRUCT", 'B'),
193:(1, "BOOL", '?'),
194:(1, "SINT", 'b'),
Expand Down

0 comments on commit 4a96dd1

Please sign in to comment.