Skip to content

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

reverted back to pyproject requirments

Gregor Žunič95d73b1b94f9
diff --git a/README.md b/README.md
index cbadc5844..4f19acb44 100644
--- a/README.md
+++ b/README.md
@@ -130,7 +130,7 @@ Contributions are welcome! Feel free to open issues for bugs or feature requests
```bash
# To install all dependencies including dev
-pip install -r requirements.txt -r requirements-dev.txt
+pip install . ."[dev]"
```
2. Add your API keys to the `.env` file:
diff --git a/pyproject.toml b/pyproject.toml
index 2d14acb29..46c66d40e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,10 +1,10 @@
[project]
name = "browser-use"
-description = "Let LLMs interact with websites through a simple interface"
+description = "Make websites accessible for AI agents"
authors = [
{ name = "Gregor Zunic" }
]
-version = "0.1.1"
+version = "0.1.3"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
@@ -12,11 +12,27 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
-dynamic = ["dependencies", "optional-dependencies"]
+dependencies = [
+ "MainContentExtractor>=0.0.4",
+ "Selenium-Screenshot>=2.1.0",
+ "beautifulsoup4>=4.12.3",
+ "langchain>=0.3.7",
+ "langchain-openai>=0.2.5",
+ "langchain-anthropic>=0.2.4",
+ "langchain-fireworks>=0.2.5",
+ "pydantic>=2.9.2",
+ "python-dotenv>=1.0.1",
+ "requests>=2.32.3",
+ "selenium>=4.26.1",
+ "webdriver-manager>=4.0.2"
+]
-[tool.setuptools.dynamic]
-dependencies = {file = ["requirements.txt"]}
-optional-dependencies = {dev = {file = ["requirements-dev.txt"]}}
+[project.optional-dependencies]
+dev = [
+ "tokencost>=0.1.16",
+ "hatch>=1.13.0",
+ "build>=1.2.2"
+]
[tool.ruff]
line-length = 100
diff --git a/requirements-dev.txt b/requirements-dev.txt
deleted file mode 100644
index 8498dc54d..000000000
--- a/requirements-dev.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-tokencost>=0.1.16
-hatch>=1.13.0
-build>=1.2.2
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
deleted file mode 100644
index 600ff58aa..000000000
--- a/requirements.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-MainContentExtractor>=0.0.4
-Selenium-Screenshot>=2.1.0
-beautifulsoup4>=4.12.3
-langchain>=0.3.7
-langchain-openai>=0.2.5
-langchain-anthropic>=0.2.4
-langchain-fireworks>=0.2.5
-pydantic>=2.9.2
-pytest>=8.3.3
-pytest-asyncio>=0.24.0
-python-dotenv>=1.0.1
-requests>=2.32.3
-selenium>=4.26.1
-webdriver-manager>=4.0.2
\ No newline at end of file