-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathagentpool.spec
More file actions
91 lines (83 loc) · 2.18 KB
/
Copy pathagentpool.spec
File metadata and controls
91 lines (83 loc) · 2.18 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
90
91
import contextlib
from PyInstaller.utils.hooks import collect_data_files, copy_metadata
datas = []
# Collect package metadata for packages that use importlib.metadata
metadata_packages = [
"agentpool",
"llmling-models",
"pydantic-ai-slim",
"genai_prices",
"schemez",
"tokonomics",
"pydantic",
"fastmcp",
"mcp",
"typer",
"rich",
"httpx",
"openai",
"anthropic",
"google-generativeai",
"mistralai",
"opentelemetry-sdk",
"opentelemetry-api",
"structlog",
"sqlmodel",
"sqlalchemy",
"pydantic-settings",
"platformdirs",
]
for pkg in metadata_packages:
with contextlib.suppress(Exception): # Package might not be installed or have metadata
datas += copy_metadata(pkg, recursive=True)
# Collect data files for packages that need them
datas += collect_data_files("certifi")
with contextlib.suppress(Exception):
datas += collect_data_files("tzdata")
with contextlib.suppress(Exception):
datas += collect_data_files("zoneinfo")
a = Analysis( # noqa: F821 # pyright: ignore[reportUndefinedVariable] # ty:ignore[unresolved-reference]
["src/agentpool/__main__.py"],
pathex=[],
binaries=[],
datas=datas,
hiddenimports=[
"agentpool",
"agentpool_cli",
"agentpool_config",
"agentpool_commands",
"agentpool_storage",
"agentpool_prompts",
"agentpool_server",
"agentpool_toolsets",
"acp",
"acp.bridge",
],
hookspath=[],
hooksconfig={},
runtime_hooks=["runtime_hook.py"],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure) # noqa: F821 # pyright: ignore[reportUndefinedVariable] # ty:ignore[unresolved-reference]
exe = EXE( # noqa: F821 # pyright: ignore[reportUndefinedVariable] # ty:ignore[unresolved-reference]
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name="agentpool",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)