forked from eReader/detekt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
detector.spec
30 lines (26 loc) · 962 Bytes
/
detector.spec
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
# -*- mode: python -*-
def get_plugins(list):
for item in list:
if item[0].startswith('volatility.plugins') and not (item[0] == 'volatility.plugins' and '__init__.py' in item[1]):
yield item
a = Analysis(['gui.py'],
pathex=[os.path.dirname(__file__)],
hookspath=['hooks'])
pyz = PYZ(a.pure)
volatility = Tree(os.path.join('volatility', 'volatility'),
prefix='volatility')
exe = EXE(pyz,
a.scripts,
a.binaries + [('msvcr100.dll', 'C:\\WINDOWS\\system32\\msvcr100.dll', 'BINARY')],
a.zipfiles,
a.datas,
volatility,
Tree('gui', prefix='gui'),
Tree('drivers', prefix='drivers'),
Tree('rules', prefix='rules'),
name=os.path.join('dist', 'detekt.exe'),
debug=False,
strip=False,
upx=False,
console=False,
icon='detekt.ico')