Start: Print pip install command
Helps for debugging. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
5055a98e41
commit
44b7319710
1 changed files with 3 additions and 1 deletions
4
start.py
4
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue