-
Notifications
You must be signed in to change notification settings - Fork 8
/
cb-taxii-connector.spec
39 lines (39 loc) · 1.82 KB
/
cb-taxii-connector.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
31
32
33
34
35
36
37
38
39
# -*- mode: python -*-
from PyInstaller.utils.hooks import get_package_paths
datas = [(get_package_paths('cbint')[1], 'cbint')]
datas.extend([(HOMEPATH + '/cbapi/response/models/*', 'cbapi/response/models/'),
(HOMEPATH + '/cbapi/protection/models/*', 'cbapi/protection/models/'),
(HOMEPATH + '/cbapi/psc/threathunter/models/*', 'cbapi/psc/threathunter/models/'),
(HOMEPATH + '/cbapi/psc/livequery/models/*', 'cbapi/psc/livequery/models/'),
(HOMEPATH + '/cbapi/psc/defense/models/*', 'cbapi/psc/defense/models/'),
(HOMEPATH + '/cbapi/psc/models/*', 'cbapi/psc/models/') ])
a = Analysis(['src/cb-taxii-connector'],
pathex=['.'],
hiddenimports=['cbint','cbint.utils.cbserver', 'cbint.utils.bridge', 'unicodedata',
'parsedatetime.pdt_locales.de_DE',
'parsedatetime.pdt_locales.en_AU',
'parsedatetime.pdt_locales.en_US',
'parsedatetime.pdt_locales.es',
'parsedatetime.pdt_locales.nl_NL',
'parsedatetime.pdt_locales.pt_BR',
'parsedatetime.pdt_locales.ru_RU',
'parsedatetime.pdt_locales.fr_FR'],
datas=datas,
hookspath=None,
runtime_hooks=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='cb-taxii-connector',
debug=False,
strip=None,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='cb-taxii-connector')