Your IP : 18.188.130.151
o
6��f�F � @ s` d dl Z d dlZd dlZd dlmZ d dlmZmZmZm Z m
Z
d dlmZ G dd� d�ZdS )� N)�DistutilsOptionError)�util�dir_util� file_util�archive_util�dep_util��logc @ s0 e Zd Z g Zdd� Zdd� Zdd� Zdd� Zd d
� ZdBd
d�Z dd� Z
dCdd�Zdd� ZdDdd�Z
dDdd�Zdd� Z dDdd�Zdd� Zd d!� Zd"d#� Zd$d%� ZdCd&d'�ZdEd)d*�Zd+d,� Zd-d.� Zd/d0� ZdFd1d2�ZdGd4d5�Z dHd6d7�Z dId8d9�ZdCd:d;�ZdJd<d=�Z dKd>d?�Z dLd@dA�Z!dS )M�Commandc C sd ddl m} t||�std��| jtu rtd��|| _| �� d | _ |j
| _
d | _d| _d| _
d S )Nr )�Distributionz$dist must be a Distribution instancezCommand is an abstract class)Zdistutils.distr �
isinstance� TypeError� __class__r
�RuntimeError�distribution�initialize_optionsZ_dry_run�verbose�force�help� finalized)�selfZdistr � r �4/opt/alt/python310/lib64/python3.10/distutils/cmd.py�__init__/ s
zCommand.__init__c C s6 |dkrt | d| �}|d u rt | j|�S |S t|��)N�dry_run�_)�getattrr �AttributeError)r �attrZmyvalr r r �__getattr___ s zCommand.__getattr__c C s | j s| �� d| _ d S �N� )r �finalize_options�r r r r �ensure_finalizedi s
zCommand.ensure_finalizedc C � t d| j ���Nz,abstract method -- subclass %s must override�r r r# r r r r { � �zCommand.initialize_optionsc C r% r&