From 5420cae7730a227f51fc4a2144a7f199c50eae95 Mon Sep 17 00:00:00 2001 From: kingbri Date: Thu, 21 Mar 2024 18:13:41 -0400 Subject: [PATCH] Start: Print pip install command Helps for debugging. Signed-off-by: kingbri --- start.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start.py b/start.py index 24ad5d5a..b57821bc 100644 --- a/start.py +++ b/start.py @@ -128,7 +128,9 @@ def add_start_args(parser: argparse.ArgumentParser): features = f"[{install_features}]" if install_features else "" # pip install .[features] - subprocess.run(["pip", "install", "-U", f".{features}"]) + install_command = f"pip install -U .{features}" + print(f"Running install command: {install_command}") + subprocess.run(install_command.split(' ')) # Import entrypoint after installing all requirements from main import entrypoint