forked from OpenBazaar/OpenBazaar-Installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openbazaard.win.spec
40 lines (37 loc) · 1.17 KB
/
openbazaard.win.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
40
# -*- mode: python -*-
block_cipher = None
a = Analysis(['OpenBazaar-Server\\openbazaard.py'],
pathex=['OpenBazaar-Server'],
binaries=None,
datas=None,
hiddenimports=['cryptography', 'bitcoin'],
hookspath=None,
runtime_hooks=None,
excludes=None,
win_no_prefer_redirects=None,
win_private_assemblies=True,
cipher=block_cipher)
a.binaries += [('ssleay32.dll', '..\\windows\\win64\\ssleay32.dll', 'BINARY'),
('libeay32.dll', '..\\windows\\win64\\libeay32.dll', 'BINARY')]
a.datas += [
('ob.cfg', 'ob.cfg', 'DATA'),
('bitcointools\\english.txt', '..\\windows\\english.txt', 'DATA')
]
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='openbazaard',
icon='..\\windows\\icon.ico',
debug=False,
strip=None,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='openbazaard')