Start: Print pip install command

Helps for debugging.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-03-21 18:13:41 -04:00
parent 5055a98e41
commit 44b7319710

View file

@ -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