d0ugal / python-rfxcom

A Python 3.3+ library for working with your RFXTrx and automating your home.
BSD 3-Clause "New" or "Revised" License
8 stars 9 forks source link

Support Python 2 #1

Closed d0ugal closed 10 years ago

d0ugal commented 10 years ago

I think at the moment this isn't wanted, I am keen to run on Python 3.4 (or at least 3.3). If somebody wants to come and help with this then we can merge it. I wont be testing it otherwise, so to say I support it would be a lie :)

So - unless somebody comes along and expresses an interest in this, we will stick with 3.3+ for now.

yoch commented 10 years ago

Hello,

I'm interested to use this library on my raspberry Pi, but only python 3.2 is available on raspbian. If this library can be ported on python 2.7 or 3.2, it helps me a lot.

d0ugal commented 10 years ago

Hi,

We are currently limited to Python 3.3 because we use the 'yield from' sytax introduced in Python 3.3. http://legacy.python.org/dev/peps/pep-0380/

This pull request does make most of it work and if you are interested in trying to update it to work with the current master I'd be happy to include Python 2 support.

yoch commented 10 years ago

OK, thanks. I will try.

d0ugal commented 10 years ago

Alternatively you could try this: https://github.com/woudt/pyRFXtrx