관리-도구
편집 파일: wizard.cpython-311.pyc
� |�CgJ9 � � � d dl Z d dlZd dlZd dlZd dlZd dlmZmZmZm Z d dl Z d dlmZ d dl mZmZmZ d dl mZmZ d dlmZ ddlmZ dd lmZ dd lmZmZmZ ddlmZmZmZm Z m!Z! ddl"m#Z#m$Z$ dd l%m&Z& ddl'm(Z(m)Z)m*Z* G d� d� � Z+dS )� N)�Any�Optional�Dict�NoReturn)�FormattedException)�run_command�ExternalProgramFailed�get_cl_version)�get_package_db_errors� is_ubuntu)�NoSuchModule� )�acquire_config_access)�Config)�run_installation�ALL_MODULES�get_supported_modules)�WizardStatus�ModuleStatus�CRASH_LOG_PATH�FILE_MARKER_PATH� MAIN_LOG_PATH)�CancelModuleException�InstallationFailedException)�parse_cloudlinux_wizard_opts)�is_background_process_running�run_background�setup_loggerc �� � e Zd ZdZej ej ej gZej ej ej gZd� Zd� Z ed� � � Zd� Zdd�Zd� Zd � Zd � Zd� Zd� Zd � Zd� Zd� Zd� Zd� Zedd�� � ZdS )�CloudlinuxWizardzAMain class for working with Wizard that exposes high level logic.c �n � d | _ t � � | _ t dt � � | _ d S )Nzwizard.main)�_optsr �_supported_modulesr r �log��selfs �F/opt/cloudlinux/venv/lib64/python3.11/site-packages/clwizard/wizard.py�__init__zCloudlinuxWizard.__init__>