Viewing File: /opt/alt/python-internal/lib64/python3.11/distutils/__pycache__/cmd.cpython-311.opt-2.pyc
!A?hF n d dl Z d dlZd dlZd dlmZ d dlmZmZmZm Z m
Z
d dlmZ G d d ZdS ) N)DistutilsOptionError)utildir_util file_utilarchive_utildep_utillogc e Zd Z g Zd Zd Zd Zd Zd Zd$dZ d Z
d%dZd Zd&d
Z
d&dZd Z d&dZd Zd Zd Zd Zd%dZd'dZd Zd Zd Zd(dZd)dZ d*dZ d+dZd%d Zd,d!Z d-d"Z d.d#Z!dS )/Commandc ddl m} t || st d | j t
u rt
d || _ | d | _ |j
| _
d | _ d| _ d| _
d S )Nr )Distributionz$dist must be a Distribution instancezCommand is an abstract class)distutils.distr
isinstance TypeError __class__r RuntimeErrordistributioninitialize_options_dry_runverboseforcehelp finalized)selfdistr s :/opt/alt/python-internal/lib64/python3.11/distutils/cmd.py__init__zCommand.__init__/ s 0/////$-- DBCCC>W$$=>>> !!!
|
c |dk r,t | d|z }|t | j | S |S t | )Ndry_run_)getattrr AttributeError)r attrmyvals r __getattr__zCommand.__getattr___ sK 9D#*--E}t0$777 &&&r c J | j s| d| _ d S N )r finalize_optionsr s r ensure_finalizedzCommand.ensure_finalizedi s) ~ $!!###r c 2 t d| j z Nz,abstract method -- subclass %s must overrider r r, s r r zCommand.initialize_options{ ( I!^, - - -r c 2 t d| j z r/ r0 r, s r r+ zCommand.finalize_options s( I!^, - - -r N c z ddl m} |d| z }| ||z t j |dz }| j D ]j\ }}}| | }|d dk r
|d d }t | | }| ||d|z t j kd S ) Nr )
longopt_xlatezcommand options for '%s':)levelz =z = ) distutils.fancy_getoptr5 get_command_nameannouncer
INFOuser_options translater# )r headerindentr5 optionr"