-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
86 lines (76 loc) · 1.8 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
[project]
name = "clarvis"
version = "0.1.0"
description = "Clarvis — macOS desktop companion with animated ASCII avatar"
requires-python = ">=3.13"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"httpx",
"filelock",
"cachetools",
"pytimeparse2",
"numpy",
"orjson",
"lark",
]
[tool.uv]
[tool.uv.sources]
clautify = { path = "../clautify", editable = true }
nanobuddy = { path = "../nanobuddy", editable = true }
[project.scripts]
clarvis = "clarvis.daemon:main"
ctools = "clarvis.cli.ctools:main"
[project.optional-dependencies]
voice = ["claude-agent-sdk", "nanobuddy[detect]"]
memory = [
"hindsight-api>=0.4.15",
"cognee[graphiti,anthropic]",
"falkordblite>=0.8.0",
"redis>=7.2",
"asyncpg>=0.29.0",
"sqlalchemy[asyncio]>=2.0",
"alembic>=1.17",
"pgvector>=0.3",
"psycopg2-binary>=2.9",
"greenlet>=3.2",
"pg0-embedded>=0.11.0",
"tiktoken>=0.12.0",
"langchain-text-splitters>=0.3.0",
"dateparser>=1.2",
"python-dateutil>=2.8",
]
music = ["clautify"]
web = ["tavily-python"]
channels = ["httpx", "websockets"]
particles = ["numba>=0.63.1"]
all = ["clarvis[voice,memory,music,web,particles]"]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
"hypothesis",
]
dev = [
"clarvis[all,test]",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["clarvis"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
pythonpath = ["."]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["clarvis"]
omit = ["*/__pycache__/*", "*/tests/*"]
[tool.ruff]
target-version = "py313"
line-length = 120
extend-exclude = ["clarvis/vendor/"]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]