46 lines
1.0 KiB
TOML
46 lines
1.0 KiB
TOML
|
|
[build-system]
|
||
|
|
requires = ["setuptools>=68"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "risv3-relay"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Relay daemon between Claude Code instances and a Claude.ai chat-equivalent session via the Anthropic API."
|
||
|
|
requires-python = ">=3.10"
|
||
|
|
authors = [{name = "AC"}]
|
||
|
|
dependencies = [
|
||
|
|
"anthropic>=0.42,<1",
|
||
|
|
"flask>=3.0,<4",
|
||
|
|
"requests>=2.32,<3",
|
||
|
|
"pyyaml>=6.0,<7",
|
||
|
|
"python-dotenv>=1.0,<2",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
dev = [
|
||
|
|
"pytest>=8.3",
|
||
|
|
"ruff>=0.6",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
relay = "relay.__main__:main"
|
||
|
|
|
||
|
|
[tool.setuptools.packages.find]
|
||
|
|
include = ["relay*"]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
target-version = "py310"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "W", "I", "B", "UP", "RUF"]
|
||
|
|
ignore = ["E501"] # line-length already set
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|
||
|
|
addopts = "-m 'not real_api'"
|
||
|
|
filterwarnings = ["ignore::DeprecationWarning"]
|
||
|
|
markers = [
|
||
|
|
"real_api: hits the live Anthropic API; gated on ANTHROPIC_API_KEY env var. Run with `pytest -m real_api` to opt in",
|
||
|
|
]
|