cthuun / python-xbee

Automatically exported from code.google.com/p/python-xbee
MIT License
1 stars 0 forks source link

Does not install on Centos5 (Py:2.4.3) #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

install fails with SyntaxError on Contos5 (Py:2.4.3)

---
File "/usr/lib/python2.4/site-packages/xbee/base.py", line 341
tmp_samples['dio-%d' % i] = True if (digital_values >> i) & 1 else False

SyntaxError: invalid syntax

---

After changing this line to a more common Syntax the package compiles fine.

Many Thanks for this very usefull interface!
Joerg 

Original issue reported on code.google.com by j...@cell.de on 2 Feb 2012 at 8:33

GoogleCodeExporter commented 9 years ago
This library was written for Python 2.7 / 3.1, so I can't guarantee that things 
will work with versions prior to that.

You could try running the unit tests with nose 
(http://readthedocs.org/docs/nose/en/latest/) to see if anything breaks.

Original comment by pmalms...@gmail.com on 4 Feb 2012 at 11:26

GoogleCodeExporter commented 9 years ago

Original comment by pmalms...@gmail.com on 30 Mar 2012 at 7:08