-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathSLIP-39-macOS.spec
More file actions
83 lines (79 loc) · 2.4 KB
/
SLIP-39-macOS.spec
File metadata and controls
83 lines (79 loc) · 2.4 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
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_data_files
from PyInstaller.utils.hooks import collect_all
datas = []
binaries = []
hiddenimports = ['Crypto', 'Crypto.Cipher', 'Crypto.Protocol', 'Crypto.Protocol.KDF', 'Crypto.Hash', 'slip39']
datas += collect_data_files('shamir_mnemonic')
datas += collect_data_files('slip39')
tmp_ret = collect_all('tzdata')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('zoneinfo')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('Crypto')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('eth_account')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('py_ecc')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
a = Analysis(
['SLIP-39.py'],
pathex=[],
binaries=binaries,
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='SLIP-39',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity='EAA134BE299C43D27E33E2B8645FF4CF55DE8A92',
entitlements_file='SLIP-39.metadata/entitlements.plist',
icon=['images/SLIP-39.icns'],
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='SLIP-39',
)
app = BUNDLE(
coll,
name='SLIP-39.app',
icon='images/SLIP-39.icns',
info_plist={
'NSPrincipalClass': 'NSApplication',
'NSAppleScriptEnabled': False,
'LSBackgroundOnly': False,
'NSRequiresAquaSystemAppearance': 'No',
'CFBundleSupportedPlatforms': ['MacOSX'],
'CFBundleIdentifier': 'ca.kundert.perry.SLIP39',
'CFBundleVersion': '14.1.0',
'CFBundlePackageType':'APPL',
'LSApplicationCategoryType':'public.app-category.utilities',
'LSMinimumSystemVersion':'10.15',
'NSHumanReadableCopyright':"Copyright © 2023 Perry Kundert.",
'ITSAppUsesNonExemptEncryption': False,
},
bundle_identifier='ca.kundert.perry.SLIP39',
)