-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
42 lines (33 loc) · 1.08 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#NOTE: See the README file for a list of dependencies to install.
try:
from setuptools import setup, Extension
except ImportError:
print("No setuptools found, attempting to use distutils instead.")
from distutils.core import setup, Extension
import sys
err = ""
try:
import usb
except ImportError:
err += "usb (apt-get install python-usb)\n"
try:
import rflib
except ImportError:
err += "rfcat and rflib (https://bitbucket.org/atlas0fd00m/rfcat)\n"
if err != "":
print >>sys.stderr, """
Library requirements not met. Install the following libraries, then re-run
the setup script.
""", err
sys.exit(1)
setup (name = 'killerzee',
version = '0.1.0',
description = 'Z-Wave Attack Framework and Tools',
author = 'Joshua Wright',
license = 'LICENSE.txt',
packages = ['killerzee'],
requires = ['rflib'],
scripts = ['tools/zwdump', 'tools/zwreplay', 'tools/zwpoweroff',
'tools/zwthermostatctrl', 'tools/zwthermostattemp' ]
)