i2cgui installed as a script, version bump to 0.0.5
This commit is contained in:
parent
39ce40b545
commit
5a83009a70
|
@ -4,7 +4,7 @@ import time
|
||||||
import struct
|
import struct
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
__version__ = '0.0.4'
|
__version__ = '0.0.5'
|
||||||
|
|
||||||
PYTHON2 = (sys.version_info < (3, 0))
|
PYTHON2 = (sys.version_info < (3, 0))
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
python led8x8.py /dev/ttyUSB0
|
python mag3110.py /dev/ttyUSB0
|
||||||
# python EDS-take-a-ticket.py /dev/ttyUSB0
|
# python EDS-take-a-ticket.py /dev/ttyUSB0
|
||||||
# python i2cgui.py
|
# python i2cgui.py
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import struct
|
import struct
|
||||||
import sys
|
import sys
|
||||||
|
@ -9,8 +11,13 @@ from functools import partial
|
||||||
import serial.tools.list_ports as slp
|
import serial.tools.list_ports as slp
|
||||||
import serial
|
import serial
|
||||||
|
|
||||||
import wx
|
try:
|
||||||
import wx.lib.newevent as NE
|
import wx
|
||||||
|
import wx.lib.newevent as NE
|
||||||
|
except ImportError:
|
||||||
|
print("i2cgui.py needs wxPython, but it wasn't found.")
|
||||||
|
print("See https://www.wxpython.org/pages/downloads/")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
import i2cdriver
|
import i2cdriver
|
||||||
|
|
||||||
|
|
|
@ -21,4 +21,5 @@ setup(name='i2cdriver',
|
||||||
'i2cdriver',
|
'i2cdriver',
|
||||||
'EDS',
|
'EDS',
|
||||||
],
|
],
|
||||||
|
scripts=['samples/i2cgui.py'],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue