4:56 #ˆl–äY>” je¶…8 Cq§nµ1hßÀ ƒç¿ÃÂàa ´is ã@s*ddlZGdd„dƒZdd„Zdd„ZdS)éNc@seZdZddd„Zdd„ZdS)ÚPopenNcCs||_||_d|_dS)N)Ú_cmdÚ_envÚ returncode)ÚselfÚcmdÚenv©r ú'/usr/lib64/python3.9/_bootsubprocess.pyÚ__init__ szPopen.__init__c Csˆt ¡}|dkrfzF|jdur6t |jd|j|j¡nt |jd|j¡Wt d¡q‚t d¡0nt |d¡\}}t |¡|_ |j S)Nré) ÚosÚforkrÚexecverÚexecvÚ_exitÚwaitpidÚwaitstatus_to_exitcoder)rÚpidÚ_Ústatusr r r Úwaits  z Popen.wait)N)Ú__name__Ú __module__Ú __qualname__r rr r r r r s rcCs¼g}dD]2\}}tt|ƒt|ƒdƒD]}| t|ƒ¡q&q| d¡d |¡}t|ttfƒrd|}nt|tƒrv|g}ndS|D]8}t|tƒs’dS|sœdS|D]}||vr dSq q~dS)N))ÚaÚz)ÚAÚZ)Ú0Ú9r z./-ÚFT) ÚrangeÚordÚappendÚchrÚjoinÚ isinstanceÚtupleÚlistÚstr)rZ safe_charsÚfirstÚlastZchZ check_strsÚargr r r Ú _check_cmd$s(      r.cKs|rtt|ƒƒ‚t|ƒs&td|›�ƒ‚d}t|tƒs>d |¡}|›d|›�}z t |¡}t  |¡}|rztd|›d|›�ƒ‚z6t |dƒ�}|  ¡}Wdƒn1s¤0YWnt yÆd}Yn0Wzt  |¡WntyêYn0n&zt  |¡Wnt�yYn00|S) Nzunsupported command: zcheck_output.tmpú z >zCommand z returned non-zero exit status Úrbó)ÚNotImplementedErrorÚreprr.Ú ValueErrorr'r*r&r ÚsystemrÚopenÚreadÚFileNotFoundErrorÚunlinkÚOSError)rÚkwargsZ tmp_filenamerÚexitcodeÚfpÚstdoutr r r Ú check_outputBs:      ÿ *   ýr?)r rr.r?r r r r Ús  ˆ¾À „ /‰Ï¿ÃÂ6f a ´iŸFã@sbdZddlZddlZddlZddlmZddlmZmZm Z m Z m Z ddlm Z Gdd„dƒZ dS)ztdistutils.cmd Provides the Command class, the base class for the command classes in the distutils.command package. éN)ÚDistutilsOptionError)ÚutilÚdir_utilÚ file_utilÚ archive_utilÚdep_util©Úlogc@s"eZdZdZgZdd„Zdd„Zdd„Zdd „Zd d „Z dCdd„Z dd„Z dDdd„Z dd„Z dEdd„ZdFdd„Zdd„ZdGdd„Zdd „Zd!d"„Zd#d$„Zd%d&„ZdHd'd(„ZdId*d+„Zd,d-„Zd.d/„Zd0d1„ZdJd2d3„ZdKd5d6„ZdLd7d8„ZdMd9d:„ZdNd;d<„ZdOd=d>„Z dPd?d@„Z!dQdAdB„Z"d S)RÚCommanda}Abstract base class for defining command classes, the "worker bees" of the Distutils. A useful analogy for command classes is to think of them as subroutines with local variables called "options". The options are "declared" in 'initialize_options()' and "defined" (given their final values, aka "finalized") in 'finalize_options()', both of which must be defined by every command class. The distinction between the two is necessary because option values might come from the outside world (command line, config file, ...), and any options dependent on other options must be computed *after* these outside influences have been processed -- hence 'finalize_options()'. The "body" of the subroutine, where it does all its work based on the values of its options, is the 'run()' method, which must also be implemented by every command class. cCsbddlm}t||ƒstdƒ‚|jtur0tdƒ‚||_| ¡d|_ |j |_ d|_ d|_ d|_ dS)zÞCreate and initialize a new Command object. Most importantly, invokes the 'initialize_options()' method, which is the real initializer and depends on the actual command being instantiated. r)Ú Distributionz$dist must be a Distribution ins