- 删除 browser-harness 嵌套 .git(原为独立 clone 仓库,导致源码无法提交) - .gitignore: browser-harness/ 全忽略 → 仅 **/browser-harness/envs/(conda 环境 191M 不提交) - 提交 175 个源码文件(SKILL.md/README/src/skills/tests/docs 等) - 继续排除: envs/ 环境目录、*.egg-info/、__pycache__/
50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=77"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "browser-harness"
|
|
version = "0.1.8"
|
|
description = "The simplest, thinnest, and most powerful harness to control your real browser with your agent."
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = "MIT"
|
|
license-files = ["LICENSE"]
|
|
keywords = ["agent", "automation", "browser", "cdp", "chrome", "scraping"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Internet :: WWW/HTTP :: Browsers",
|
|
"Topic :: Software Development :: Testing",
|
|
]
|
|
dependencies = [
|
|
"cdp-use==1.4.5",
|
|
"fetch-use==0.4.0",
|
|
"pillow==12.3.0",
|
|
"websockets==15.0.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
browser-harness = "browser_harness.run:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/browser-use/browser-harness"
|
|
Repository = "https://github.com/browser-use/browser-harness"
|
|
Issues = "https://github.com/browser-use/browser-harness/issues"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
browser_harness = ["SKILL.md", "video-template.html"]
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["src"]
|