Python 3.x support?
willfurnass opened this issue · 2 comments
willfurnass commented
A few things that need to be handled differently in Python 3.x:
temper.py
featureslong
hex literals like0x0c45L
. Python 3 does not havelong
s (not needed asint
s are arbitrary precision).- do
COMMANDS
need to be byte strings? - the part of
TemperDevice.get_temperature
that interprets device responses may need to change range
s are generator expressions so in some cases need to be explicitly converted tolist
s- possibly other things
willfurnass commented
See PR #46
padelt commented
Thanks @willfurnass for the work. I added some metadata to setup.py
and bumped the PyPI version to indicate the new Python 3 support. Remember to please send a PR for the contributor line in README.md
if you want.