Repository navigation
Expand file tree
/
Copy pathrecall-daemon.spec
More file actions
71 lines (68 loc) · 1.88 KB
/
Copy pathrecall-daemon.spec
File metadata and controls
71 lines (68 loc) · 1.88 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
# PyInstaller spec — the bundled Recall engine (`recall-daemon`).
#
# One small headless binary: the FastAPI service, the seven-layer
# engine, capture ingest, and the desktop-focus watcher. Deliberately
# EXCLUDES the GUI (PyQt6) and the file-search stack (chromadb +
# sentence-transformers + torch, ~2 GB) — /v1/search/files answers
# `enabled: false` until the full stack is present, which the whole
# product treats as a calm state.
#
# Build: pyinstaller --noconfirm recall-daemon.spec
# Test : HOME=$(mktemp -d) dist/recall-daemon --service
# Ship : apps/launcher/src-tauri/binaries/recall-daemon-<triple>
a = Analysis(
["recall.py"],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[
# uvicorn's runtime imports are dynamic
"uvicorn.logging",
"uvicorn.loops.auto",
"uvicorn.protocols.http.auto",
"uvicorn.protocols.websockets.auto",
"uvicorn.lifespan.on",
# the desktop probes are imported by platform dispatch
"app.core.desktop.darwin",
"app.core.desktop.watcher",
],
excludes=[
# GUI — never in the daemon
"PyQt6",
"PyQt6.QtCore",
"PyQt6.QtGui",
"PyQt6.QtWidgets",
# the optional file-search stack (service.py degrades cleanly)
"chromadb",
"sentence_transformers",
"torch",
"transformers",
"onnxruntime",
"tokenizers",
"scipy",
"sklearn",
"pandas",
"matplotlib",
"PIL",
],
noarchive=False,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name="recall-daemon",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)