samettonyali / killerbee

Automatically exported from code.google.com/p/killerbee
0 stars 0 forks source link

Include pyserial as a library requirement in setup.py #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On OSX Lion, I got to the point where python and other required modules were 
installed through macports.  Upon execution of zbid, I received the following 
error:

Traceback (most recent call last):
  File "./tools/zbid", line 2, in <module>
    from killerbee import kbutils
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/killerbee/__init__.py", line 2, in <module>
    import serial
ImportError: No module named serial

After doing a "sudo port install py26-serial" zbid works perfectly.  Based on 
this, I suggest putting this module as a prerequisite within setup.py.

Original issue reported on code.google.com by justin.c...@gmail.com on 8 Aug 2011 at 3:00

GoogleCodeExporter commented 8 years ago
Thanks for the report. I didn't realize it hadn't gotten on the list when we 
started using it, but I'll add this to the pre-req list in README. (Note: 
serial is used to support multiple devices, mainly ones on FTDI chips, like the 
Tmote and Freakduino)
I am curious to hear other reports of using KillerBee on OSX. We don't test on 
that, but if we can make some patches to support it, that would be nice.
(Committed in revision 21)

Original comment by rmspe...@gmail.com on 13 Aug 2011 at 1:37