monk-dot / killerbee

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

Error in setup.py #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While trying to update killerbee to the latest SVN version I had troubles 
having it work under my system.

Here is the patch I made to the setup.py file:

----8<------
Index: setup.py
===================================================================
--- setup.py    (révision 86)
+++ setup.py    (copie de travail)
@@ -1,7 +1,7 @@
 #NOTE: See the README file for a list of dependencies to install.

 try:
-    from setuptools import setup
+    from setuptools import setup, Extension
 except ImportError:
     print("No setuptools found, attempting to use distutils instead.")
     from distutils.core import setup, Extension
@@ -71,7 +71,7 @@
                    'tools/zbconvert', 'tools/zbdsniff', 'tools/zbstumbler', 'tools/zbassocflood', 
                    'tools/zbfind', 'tools/zbscapy', 'tools/zbwireshark', 'tools/zbkey', 
                     'tools/zbwardrive', 'tools/zbopenear'],
-        install_requires=['serial', 'usb', 'crypto'],
+        install_requires=['pyserial', 'pyusb', 'crypto'],
         ext_modules = [ zigbee_crypt ],
         )
----8<------

What version of the product are you using?
[ ] KillerBee 1.0 (from TAR file)
[x] KillerBee beta (from SVN checkout) Revision # ___
[ ] Other:

On what operating system?
Ubuntu 13.10 (64 bits)

With what Python version? (python -V)
Python 2.7.5+

Is scapy-com installed?
Yes

Please provide any additional information below.

Original issue reported on code.google.com by jmiche...@gmail.com on 16 Mar 2014 at 8:18

GoogleCodeExporter commented 9 years ago
Good catch. SVN revision 87 should have half-fixed it, as I noticed it was an 
issue if you are using setuptools, but revision 88 now includes your second 
change to install_requires. Please let me know if that works fine.

Original comment by rmspe...@gmail.com on 26 Mar 2014 at 12:05