Skip to content

Commit d9c34a5

Browse files
ncrmroclaude
andcommitted
Add uv dependency for project-specific Python management
AI agents can now use `uv venv` to create isolated Python environments without conflicting with system Python. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent db30fe6 commit d9c34a5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Formula/deepwork.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Deepwork < Formula
88
license "BSL-1.1"
99

1010
depends_on "python@3.11"
11+
depends_on "uv"
1112

1213
def install
1314
# Create venv with pip included
@@ -18,7 +19,17 @@ def install
1819
(bin/"deepwork").write_env_script libexec/"bin/deepwork", PATH: "#{libexec}/bin:$PATH"
1920
end
2021

22+
def caveats
23+
<<~EOS
24+
DeepWork includes `uv` for managing Python environments.
25+
AI agents can create project-specific virtual environments:
26+
uv venv .venv
27+
uv pip install <package>
28+
EOS
29+
end
30+
2131
test do
2232
system bin/"deepwork", "--version"
33+
system "uv", "--version"
2334
end
2435
end

0 commit comments

Comments
 (0)