Skip to content

Commit e7782fd

Browse files
Copilotbytemain
andauthored
Clarify uv-build pip messages
Agent-Logs-Url: https://github.com/version-fox/vfox-python/sessions/07e4e50a-f299-4a36-a8b8-405f0222677a Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
1 parent 19b8e92 commit e7782fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/util.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ local function ensureWindowsUvBuildPip(path)
586586
end
587587

588588
if not pathExists(path .. "\\Lib\\ensurepip\\__init__.py") then
589-
print("Warning: uv-build Python does not include ensurepip; pip was not installed.")
589+
print("Warning: uv-build Python does not include ensurepip; skipping pip installation.")
590590
return
591591
end
592592

@@ -610,7 +610,7 @@ local function ensureWindowsUvBuildPip(path)
610610
end
611611

612612
if not pathExists(path .. "\\Scripts\\pip.exe") then
613-
error("Install pip script failed: pip.exe was not created")
613+
error("Failed to install pip: pip.exe was not created after installation attempts")
614614
end
615615
end
616616

0 commit comments

Comments
 (0)