-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (70 loc) · 2.38 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "dietcode"
# Read from agent/__init__.py, never written here. A hardcoded version drifts
# from the source, and the release then builds one number while the tag check
# passes on another -- PyPI rejects the upload and the failure looks unrelated.
dynamic = ["version"]
description = "A CLI coding agent that writes and runs code in a sandbox."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "DevPatils" }]
keywords = ["agent", "llm", "cli", "coding-agent", "terminal-bench"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
# One SDK per provider. All four are required rather than optional extras:
# picking a provider and being told to go install something is a worse
# first run than a slightly larger install.
"openai>=1.40.0",
"groq>=0.11.0",
"google-genai>=1.0.0",
"anthropic>=0.40.0",
"rich>=13.0.0",
"prompt_toolkit>=3.0.0",
# Stores API keys in the OS keychain. Falls back to a 0600 file when the
# platform has no usable backend, so it is a soft requirement in practice.
"keyring>=24.0.0",
]
[project.optional-dependencies]
# Only needed when running from a checkout, where .env is the convenient way to
# pass a key. Installed users have a saved login instead.
dotenv = ["python-dotenv>=1.0.0"]
dev = [
"pytest>=8.0.0",
"python-dotenv>=1.0.0",
"ruff>=0.6.0",
]
[project.urls]
Homepage = "https://github.com/DevPatils/dietCode"
Repository = "https://github.com/DevPatils/dietCode"
[project.scripts]
dietcode = "agent.cli:entrypoint"
[tool.setuptools]
# `adapters` is a real package, not a stray directory: the Terminal-Bench
# harness imports adapters.terminal_bench:CliAgent by path.
packages = ["agent", "adapters"]
[tool.setuptools.dynamic]
version = { attr = "agent.__version__" }
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = [
"E501", # long lines are caught by the formatter, not worth failing on
"B008",
]