Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (59 loc) · 1.71 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
[project]
name = "callpilot"
version = "0.6.0"
description = "Open-source AI phone agent on a Quectel 4G modem: auto-answers, talks with a realtime voice AI, dials out, and sends/receives SMS."
requires-python = ">=3.12"
readme = "README.md"
license = "Apache-2.0"
dependencies = [
"pyserial>=3.5",
"pyusb>=1.3.1",
"sounddevice>=0.5.1",
"numpy>=1.26.0",
"python-dotenv>=1.0.0",
"dashscope>=1.25.6",
"websockets>=13.0",
"aiohttp>=3.9.0",
"pywebview>=5.0",
"livekit>=1.1.13,<2",
"livekit-api>=1.1,<2",
"keyring>=25,<27",
"cryptography>=43,<50",
"rumps>=0.4.0; sys_platform == 'darwin'",
]
[project.urls]
Homepage = "https://github.com/tianye1999/callpilot"
Issues = "https://github.com/tianye1999/callpilot/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"ruff>=0.15",
"mypy>=1.10",
]
# 本地三段式 provider(AGENT_PROVIDER=local):VAD/STT/TTS 全走 sherpa-onnx,
# 无 torch;模型资产另行 python -m agentcall.local_models 下载。
local = [
"sherpa-onnx>=1.10",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"agentcall.web" = ["static/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.lint.per-file-ignores]
# Ad-hoc recording analysis script kept in its compact exploratory style for now;
# production code and tests still use the normal E/F/W/I gate.
"scripts/analyze_recording.py" = ["E401", "E702", "I001"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
files = ["src/agentcall"]