Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix: update hatch build includes for correct package structure

lynn5c91227630f3
diff --git a/pyproject.toml b/pyproject.toml
index 66b20d246..3bd780784 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -57,6 +57,10 @@ build-backend = "hatchling.build"
[tool.hatch.build]
include = [
+ "browser_use/**/*.py",
+ "!browser_use/**/tests/*.py",
+ "!browser_use/**/tests.py",
+ "browser_use/agent/system_prompt.md",
"browser_use/dom/buildDomTree.js",
]