-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmac_onedir__main__.spec
106 lines (102 loc) · 4.54 KB
/
mac_onedir__main__.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
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
# -*- mode: python ; coding: utf-8 -*-
# for M1 macOS : pyinstaller one directory option
block_cipher = None
a = Analysis(
['__main__.py'],
pathex=[],
binaries=[],
datas=[
('peekingduck_studio/peekingduckstudio.kv', 'peekingduck_studio'),
('../peekingduck/peekingduck','peekingduck'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/libprotobuf.31.dylib', '.'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/lib-dynload/cmath.cpython-39-darwin.so', 'lib-dynload'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/logging', 'logging'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages', 'site-packages'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/PIL', 'PIL'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/absl', 'absl'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/astunparse', 'astunparse'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/charset_normalizer', 'charset_normalizer'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/click', 'click'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/colorama', 'colorama'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/flatbuffers', 'flatbuffers'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/gast', 'gast'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/google', 'google'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/html', 'html'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/keras', 'keras'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/keras_preprocessing', 'keras_preprocessing'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/opt_einsum', 'opt_einsum'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/requests', 'requests'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/scipy', 'scipy'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/tensorboard', 'tensorboard'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/tensorflow', 'tensorflow'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/tensorflow-plugins', 'tensorflow-plugins'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/tensorflow_estimator', 'tensorflow_estimator'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/torch', 'torch'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/torchvision', 'torchvision'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/tqdm', 'tqdm'),
('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/unittest', 'unittest'),
# ('/opt/homebrew/Caskroom/miniforge/base/envs/temp/lib/python3.9/site-packages/urllib3', 'urllib3'),
],
hiddenimports=[
"absl",
"click",
"colorama",
"dataclasses",
"google",
"google.protobuf",
"logging",
"_markupbase",
"pickletools",
"requests",
"scipy",
"shapely",
"termcolor",
"timeit",
"tqdm",
"wrapt",
"yaml",
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[
"_tkinter",
"TKinter",
"enchant",
"twisted",
],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='PeekingDuckStudio',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='pkds_mac.icns',
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='PeekingDuckStudio',
)