-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathadaptation_pathways.spec.in
59 lines (53 loc) · 1.29 KB
/
adaptation_pathways.spec.in
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
# -*- mode: python ; coding: utf-8 -*-
# pyinstaller specification
analysis = Analysis(
[
"@PROJECT_SOURCE_DIR@/source/script/ap_pathway_generator.py",
],
pathex=[],
binaries=[],
datas=[
("@PROJECT_SOURCE_DIR@/source/package/adaptation_pathways/desktop/icon", "adaptation_pathways/desktop/icon"),
("@PROJECT_SOURCE_DIR@/source/package/adaptation_pathways/desktop/ui", "adaptation_pathways/desktop/ui"),
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(analysis.pure)
exe = EXE(
pyz,
analysis.scripts,
[],
exclude_binaries=True,
name="pathway_generator", # Name of executable file
icon="@AP_ICON@",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
analysis.binaries,
analysis.datas,
strip=False,
upx=True,
upx_exclude=[],
name="pathway_generator", # Name of output folder
)
app = BUNDLE(
coll,
name="Adaptation Pathway Generator.app", # Name of bundle
icon="@AP_ICON@",
bundle_identifier=None,
)