-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (54 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (54 loc) · 1.6 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lh-harness"
version = "0.1.5"
description = "Role-orchestrated harness for long-horizon computer-use tasks"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
keywords = ["agent", "long-horizon", "computer-use", "llm"]
dependencies = [
"packaging",
"tomli; python_version < '3.11'",
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"websockets>=12",
]
[project.optional-dependencies]
# starlette>=1.6 imports httpx2 in its TestClient and only falls back to the
# deprecated httpx; pinning httpx2 keeps the suite warning-free.
test = [
"pytest",
"pytest-asyncio",
"httpx2",
]
[project.urls]
Homepage = "https://github.com/AMAP-ML/LongHorizon-Harness"
Issues = "https://github.com/AMAP-ML/LongHorizon-Harness/issues"
[project.scripts]
lh-harness = "lh_harness.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/lh_harness"]
# The Web bundle is a build artifact, not source: it is git-ignored and CI
# builds it before packaging. ``artifacts`` (unlike ``force-include``) skips a
# missing path silently, so a checkout without a Node toolchain still installs.
artifacts = [
"/src/lh_harness/_frontend/web/dist/**",
]
[tool.hatch.build.targets.sdist]
include = [
"/src/lh_harness",
"/pyproject.toml",
"/README.md",
"/README.zh-CN.md",
"/LICENSE",
]
# Ship the built assets so `pip install <sdist>` yields a wheel with the Web UI.
artifacts = [
"/src/lh_harness/_frontend/web/dist/**",
]
[tool.pytest.ini_options]
testpaths = ["tests"]