-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy patharchmap.spec
More file actions
40 lines (37 loc) · 965 Bytes
/
Copy patharchmap.spec
File metadata and controls
40 lines (37 loc) · 965 Bytes
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
# PyInstaller spec — builds a single-file `archmap` binary.
# Build: pyinstaller archmap.spec (run on each target OS; PyInstaller does not cross-compile)
from PyInstaller.utils.hooks import collect_data_files
# Pulls in templates/template.html (and any other package data) cross-platform,
# so we avoid OS-specific --add-data path separators.
datas = collect_data_files("archmap")
a = Analysis(
["pyinstaller_entry.py"],
pathex=["src"],
binaries=[],
datas=datas,
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name="archmap",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)