From 44b7319710422c5cb3558abd63f08d9828b24f14 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 24ad5d5..5b9c042 100644 --- a/start.py +++ b/start.py @@ -128,7 +128,9 @@ if __name__ == "__main__": 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