timofurrer / w1thermsensor

A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
MIT License
493 stars 113 forks source link

make python 3 compatible #11

Closed timofurrer closed 8 years ago

timofurrer commented 8 years ago

Make python 3 compatible and make sure debian package works well for python 2 and 3

timofurrer commented 8 years ago

source code is already python 3 compatible as you can see in travis: https://travis-ci.org/timofurrer/w1thermsensor

timofurrer commented 8 years ago

Use the following commands:

For python 2:

python setup.py --command-packages=stdeb.command bdist_deb

For python 3:

python3 setup.py --command-packages=stdeb.command bdist_deb