Skip to content

Commit

Permalink
cleanup DependencyCompiler.InstallBuildDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Aug 2, 2024
1 parent 0773ed0 commit 5baac22
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions comfy_cli/uv.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,17 @@ def InstallBuildDeps():
"""Use pip to install bare minimum requirements for uv to do its thing
"""
if shutil.which("uv") is None:
_check_call(cmd=["python", "-m", "pip", "install", "-U", "pip"])
_check_call(cmd=["python", "-m", "pip", "install", "uv"])
cmd = [
sys.executable,
"-m",
"pip",
"install",
"--upgrade",
"pip",
"uv"
]

_check_call(cmd=cmd)

@staticmethod
def Compile(
Expand Down

0 comments on commit 5baac22

Please sign in to comment.