5.3.1.24.16.8. cli.helpers.python_setup.install_packages_process

cli.helpers.python_setup.install_packages_process(py: str, cwd: str, dry_run: bool = True) int

Run package installation in a child process with timeout handling.

Parameters:
  • py – Python executable inside the target environment.

  • cwd – Working directory for installation commands.

  • dry_run – If True, print only and do not execute.

Returns:

0 on success, 1 on timeout.