Skip to content

Commit

Permalink
Start: Print pip install command
Browse files Browse the repository at this point in the history
Helps for debugging.

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Mar 21, 2024
1 parent 5055a98 commit 5420cae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5420cae

Please sign in to comment.