File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ local function ensureWindowsUvBuildPip(path)
589589 end
590590
591591 if not pathExists (path .. " \\ Lib\\ ensurepip\\ __init__.py" ) then
592- print (" Warning: uv-build Python does not include ensurepip; skipping pip installation, so pip will not be available." )
592+ print (" Warning: uv-build Python does not include ensurepip; pip will not be available." )
593593 return
594594 end
595595
@@ -604,9 +604,8 @@ local function ensureWindowsUvBuildPip(path)
604604 return
605605 end
606606
607- local quotedBundledPath = shellQuote (path .. " \\ Lib\\ ensurepip\\ _bundled" )
608607 command = string.format (" %s -E -s -m pip install --force-reinstall --no-index --find-links %s pip" ,
609- shellQuote (pythonExe ), quotedBundledPath )
608+ shellQuote (pythonExe ), shellQuote ( path .. " \\ Lib \\ ensurepip \\ _bundled " ) )
610609 exitCode = os.execute (command )
611610 if not commandSucceeded (exitCode ) then
612611 error (" pip force-reinstall failed while creating pip scripts. Exit code: " .. tostring (exitCode ))
You can’t perform that action at this time.
0 commit comments