Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (41 loc) · 1.41 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (41 loc) · 1.41 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
[project]
name = "deterministic-trader"
version = "0.1.0"
description = "Event-adaptive swing equities agent. Deterministic core; the agent is the only thing that touches the network."
requires-python = ">=3.11"
dependencies = [
"tzdata>=2026.3",
]
[dependency-groups]
dev = [
"pytest>=8.0",
]
# CI-only. `ci/fetch_universe.py` reads SSGA's holdings workbook, which is the
# one source that does not publish JSON or CSV. Kept out of `dependencies` so
# the routine's own `uv sync` never installs it: nothing under `src/` may import
# it, and a dependency the deterministic core cannot see is one it cannot grow
# a use for by accident.
ci = [
"openpyxl>=3.1",
]
# `ops/control.py`'s own Supabase RPC client (`ops/supabase_client.py`) is
# the only thing in this repo that needs an HTTP client outside `services/`.
control = [
"httpx>=0.27.0",
]
# Optional MCP wrapper (`mcp_server/`). Lives outside `src/`, so the core still
# cannot import it.
mcp = [
"mcp>=1.2,<2",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.pytest.ini_options]
# `services/core` is in the suite because it imports `src/` directly: its whole
# acceptance criterion is that it produces the plan `cli.decide` produces, and a
# test that cannot run beside the core's own tests could not assert that.
testpaths = ["tests", "services/core/tests"]
addopts = "-q"