-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagentrun.spec
More file actions
89 lines (84 loc) · 1.76 KB
/
agentrun.spec
File metadata and controls
89 lines (84 loc) · 1.76 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
84
85
86
87
88
89
# -*- mode: python ; coding: utf-8 -*-
#
# PyInstaller spec — single source of truth for binary builds.
# Used by `make build` locally and by `.github/workflows/release.yml` in CI.
# Keep the EXCLUDES list in sync with the CLI's actual runtime needs.
from PyInstaller.utils.hooks import collect_data_files
# Everything the CLI does NOT need at runtime but gets pulled in transitively
# via agentrun-inner-test[core]. Excluding these keeps the binary small.
EXCLUDES = [
'litellm',
'tablestore',
'agentrun_mem0ai',
'agentrun_mem0',
'alibabacloud_bailian20231229',
'alibabacloud_gpdb20160503',
'tiktoken',
'tokenizers',
'numpy',
'grpcio',
'torch',
'tensorflow',
'transformers',
'PIL',
'matplotlib',
'scipy',
'sklearn',
'pandas',
'pytz',
'pygments',
'sqlalchemy',
'Crypto',
'pycryptodome',
'rich',
'markdown_it',
'mysql',
'MySQLdb',
'oss2',
'posthog',
'jinja2',
'qdrant_client',
'huggingface_hub',
'hf_xet',
'fsspec',
'h2',
'regex',
'future',
'google',
]
datas = []
datas += collect_data_files('certifi')
a = Analysis(
['src/agentrun_cli/main.py'],
pathex=[],
binaries=[],
datas=datas,
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=EXCLUDES,
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='agentrun',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)