forked from HKUDS/OpenHarness
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
85 lines (75 loc) · 1.77 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openharness-ai"
version = "0.1.7"
description = "Open-source Python port of Claude Code - an AI-powered CLI coding assistant"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "novix-science" },
]
dependencies = [
"anthropic>=0.40.0",
"openai>=1.0.0",
"rich>=13.0.0",
"prompt-toolkit>=3.0.0",
"textual>=0.80.0",
"typer>=0.12.0",
"pydantic>=2.0.0",
"httpx>=0.27.0",
"websockets>=12.0",
"mcp>=1.0.0",
"pyperclip>=1.9.0",
"pyyaml>=6.0",
"questionary>=2.0.1",
"watchfiles>=0.20.0",
"croniter>=2.0.0",
"slack-sdk>=3.0.0",
"python-telegram-bot>=21.0.0",
"discord.py>=2.0.0",
"lark-oapi>=1.5.0",
]
[project.optional-dependencies]
dev = [
"pexpect>=4.9.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"ruff>=0.5.0",
"mypy>=1.10.0",
]
[project.scripts]
openharness = "openharness.cli:app"
oh = "openharness.cli:app"
openh = "openharness.cli:app"
ohmo = "ohmo.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/openharness", "ohmo"]
[tool.hatch.build]
exclude = [
"/.git",
"/.venv",
"/.openharness-venv",
"/.openharness",
"/.pytest_cache",
"/.mypy_cache",
"/.ruff_cache",
"/build",
"/dist",
]
[tool.hatch.build.targets.wheel.force-include]
"frontend/terminal/package.json" = "openharness/_frontend/package.json"
"frontend/terminal/tsconfig.json" = "openharness/_frontend/tsconfig.json"
"frontend/terminal/src" = "openharness/_frontend/src"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.mypy]
python_version = "3.11"
strict = true