-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
31 lines (26 loc) · 824 Bytes
/
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
import sys
import os
from distutils.core import setup, Extension
packages = ['rflib', 'vstruct', 'vstruct.defs']
mods = []
pkgdata = {}
scripts = ['rfcat', 'rfcat_server', 'rfcat_msfrelay', 'CC-Bootloader/rfcat_bootloader',
]
# store the HG revision in an rflib python file
try:
REV = os.popen('./revision.sh').readline()
if len(REV):
file('rflib/rflib_version.py', 'wb').write( "RFLIB_VERSION=%s" % REV)
except:
sys.excepthook(*sys.exc_info())
setup (name = 'rfcat',
version = '1.0',
description = "the swiss army knife of subGHz",
author = 'atlas of d00m',
author_email = '[email protected]',
#include_dirs = [],
packages = packages,
package_data = pkgdata,
ext_modules = mods,
scripts = scripts
)