5.3.1.24.16. cli.helpers.python_setup

Error handling when the Python environment is missing.

Functions

create_env(py, env_dir[, ver, dry_run])

Create a virtual environment using the selected Python executable.

create_env_process(py, env_dir[, ver, dry_run])

Run virtual-environment creation in a child process with timeout handling.

get_python_version([dry_run])

Determine the command used to invoke Python 3.12 on this platform.

install_confirmation(confirmation)

Request user confirmation before automatic environment installation.

install_fox_cli_package(py, cwd[, dry_run])

Install the local fox CLI package into the target environment.

install_fox_cli_package_process(py, cwd, env_dir)

Run local package installation in a child process with timeout handling.

install_packages(py, cwd[, dry_run])

Install required Python packages into the target environment.

install_packages_process(py, cwd[, dry_run])

Run package installation in a child process with timeout handling.

main(env_dir[, confirm, self_install, dry_run])

Run the environment installation helper workflow.

run_cmd(cmd[, cwd, dry_run])

Run a command and print execution details.