-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.spec
More file actions
131 lines (125 loc) · 4.25 KB
/
Copy pathsetup.spec
File metadata and controls
131 lines (125 loc) · 4.25 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# -*- mode: python ; coding: utf-8 -*-
import os
import sys
from PyInstaller.utils.hooks import collect_all
# Find lazy_import VERSION file
import lazy_import
lazy_import_version = os.path.join(os.path.dirname(lazy_import.__file__), 'VERSION')
# Collect all submodules, data files, and binaries from cryptnox_sdk_py
sdk_datas, sdk_binaries, sdk_hiddenimports = collect_all('cryptnox_sdk_py')
a = Analysis(
['cryptnox_cli\\main.py'],
pathex=['C:\\Cryptnox\\cryptnox-sdk-py'],
binaries=sdk_binaries,
datas=[
# Only include non-Python data files
('cryptnox_cli\\contract_abi\\*.json', 'cryptnox_cli\\contract_abi'),
('cryptnox_cli\\lib\\cryptos\\english.txt', 'cryptnox_cli\\lib\\cryptos'),
(lazy_import_version, 'lazy_import')
] + sdk_datas,
hiddenimports=sdk_hiddenimports + [
'lazy_import',
'six',
'winsdk',
'winsdk.windows',
'winsdk.windows.security.credentials',
'winsdk.windows.security.cryptography',
'nfc',
'smartcard',
'multiprocessing',
'tabulate',
'coincurve',
'eth_keys',
'requests',
'urllib3',
'websockets',
'aiohttp',
# Dynamically imported command modules
'cryptnox_cli.command.btc',
'cryptnox_cli.command.card_configuration',
'cryptnox_cli.command.change_pin',
'cryptnox_cli.command.change_puk',
'cryptnox_cli.command.config',
'cryptnox_cli.command.eth',
'cryptnox_cli.command.history',
'cryptnox_cli.command.info',
'cryptnox_cli.command.initialize',
'cryptnox_cli.command.seed',
'cryptnox_cli.command.cards',
'cryptnox_cli.command.server',
'cryptnox_cli.command.reset',
'cryptnox_cli.command.unlock_pin',
'cryptnox_cli.command.user_key',
'cryptnox_cli.command.transfer',
'cryptnox_cli.command.get_xpub',
'cryptnox_cli.command.get_clearpubkey',
'cryptnox_cli.command.decrypt',
'cryptnox_cli.command.manufacturer_certificate',
# Command submodules (imported by initialize and info)
'cryptnox_cli.command.card',
'cryptnox_cli.command.card.info',
'cryptnox_cli.command.card.initialize',
'cryptnox_cli.command.erc_token',
'cryptnox_cli.command.erc_token.contract',
'cryptnox_cli.command.erc_token.info',
'cryptnox_cli.command.erc_token.initialize',
# Dynamically imported user_keys submodules
'cryptnox_cli.command.user_keys.hello',
'cryptnox_cli.command.user_keys.piv',
# lib.cryptos modules (dynamically imported)
'cryptnox_cli.lib.cryptos',
'cryptnox_cli.lib.cryptos.blocks',
'cryptnox_cli.lib.cryptos.composite',
'cryptnox_cli.lib.cryptos.deterministic',
'cryptnox_cli.lib.cryptos.main',
'cryptnox_cli.lib.cryptos.mnemonic',
'cryptnox_cli.lib.cryptos.specials',
'cryptnox_cli.lib.cryptos.stealth',
'cryptnox_cli.lib.cryptos.transaction',
'cryptnox_cli.lib.cryptos.coins',
'cryptnox_cli.lib.cryptos.coins.base',
'cryptnox_cli.lib.cryptos.coins.bitcoin',
'cryptnox_cli.lib.cryptos.keystore',
'cryptnox_cli.lib.cryptos.wallet',
'cryptnox_cli.lib.cryptos.wallet_utils',
'cryptnox_cli.lib.cryptos.pbkdf2',
'cryptnox_cli.lib.cryptos.ripemd',
'cryptnox_cli.lib.cryptos.segwit_addr',
# wallet modules (dynamically imported)
'cryptnox_cli.wallet',
'cryptnox_cli.wallet.btc',
'cryptnox_cli.wallet.eth',
'cryptnox_cli.wallet.eth.api',
'cryptnox_cli.wallet.eth.endpoint',
'cryptnox_cli.wallet.validators'
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['build'],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='CryptnoxCLI-1.0.5',
icon='cryptnox.ico',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
onefile=False,
)