/opt/alt/python311/lib64/python3.11/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-311.opt-1.pyc106640644editdlrm
archive_util.cpython-311.opt-2.pyc86560644editdlrm
archive_util.cpython-311.pyc106640644editdlrm
bcppcompiler.cpython-311.opt-1.pyc130570644editdlrm
bcppcompiler.cpython-311.opt-2.pyc127670644editdlrm
bcppcompiler.cpython-311.pyc130570644editdlrm
ccompiler.cpython-311.opt-1.pyc443560644editdlrm
ccompiler.cpython-311.opt-2.pyc282840644editdlrm
ccompiler.cpython-311.pyc446110644editdlrm
cmd.cpython-311.opt-1.pyc187970644editdlrm
cmd.cpython-311.opt-2.pyc130490644editdlrm
cmd.cpython-311.pyc187970644editdlrm
config.cpython-311.opt-1.pyc63830644editdlrm
config.cpython-311.opt-2.pyc60220644editdlrm
config.cpython-311.pyc63830644editdlrm
core.cpython-311.opt-1.pyc90530644editdlrm
core.cpython-311.opt-2.pyc56790644editdlrm
core.cpython-311.pyc90530644editdlrm
cygwinccompiler.cpython-311.opt-1.pyc141220644editdlrm
cygwinccompiler.cpython-311.opt-2.pyc125370644editdlrm
cygwinccompiler.cpython-311.pyc141220644editdlrm
debug.cpython-311.opt-1.pyc2920644editdlrm
debug.cpython-311.opt-2.pyc2920644editdlrm
debug.cpython-311.pyc2920644editdlrm
dep_util.cpython-311.opt-1.pyc39670644editdlrm
dep_util.cpython-311.opt-2.pyc25440644editdlrm
dep_util.cpython-311.pyc39670644editdlrm
dir_util.cpython-311.opt-1.pyc100340644editdlrm
dir_util.cpython-311.opt-2.pyc76940644editdlrm
dir_util.cpython-311.pyc100340644editdlrm
dist.cpython-311.opt-1.pyc547440644editdlrm
dist.cpython-311.opt-2.pyc456060644editdlrm
dist.cpython-311.pyc547440644editdlrm
errors.cpython-311.opt-1.pyc67550644editdlrm
errors.cpython-311.opt-2.pyc41390644editdlrm
errors.cpython-311.pyc67550644editdlrm
extension.cpython-311.opt-1.pyc101550644editdlrm
extension.cpython-311.opt-2.pyc66680644editdlrm
extension.cpython-311.pyc101550644editdlrm
fancy_getopt.cpython-311.opt-1.pyc168280644editdlrm
fancy_getopt.cpython-311.opt-2.pyc140930644editdlrm
fancy_getopt.cpython-311.pyc171090644editdlrm
filelist.cpython-311.opt-1.pyc158840644editdlrm
filelist.cpython-311.opt-2.pyc130600644editdlrm
filelist.cpython-311.pyc161710644editdlrm
file_util.cpython-311.opt-1.pyc103760644editdlrm
file_util.cpython-311.opt-2.pyc82650644editdlrm
file_util.cpython-311.pyc103760644editdlrm
log.cpython-311.opt-1.pyc39000644editdlrm
log.cpython-311.opt-2.pyc38400644editdlrm
log.cpython-311.pyc39000644editdlrm
msvc9compiler.cpython-311.opt-1.pyc330810644editdlrm
msvc9compiler.cpython-311.opt-2.pyc315080644editdlrm
msvc9compiler.cpython-311.pyc331640644editdlrm
msvccompiler.cpython-311.opt-1.pyc266480644editdlrm
msvccompiler.cpython-311.opt-2.pyc251280644editdlrm
msvccompiler.cpython-311.pyc266480644editdlrm
spawn.cpython-311.opt-1.pyc56090644editdlrm
spawn.cpython-311.opt-2.pyc44890644editdlrm
spawn.cpython-311.pyc56090644editdlrm
sysconfig.cpython-311.opt-1.pyc120990644editdlrm
sysconfig.cpython-311.opt-2.pyc102810644editdlrm
sysconfig.cpython-311.pyc120990644editdlrm
text_file.cpython-311.opt-1.pyc115060644editdlrm
text_file.cpython-311.opt-2.pyc64530644editdlrm
text_file.cpython-311.pyc115060644editdlrm
unixccompiler.cpython-311.opt-1.pyc132610644editdlrm
unixccompiler.cpython-311.opt-2.pyc126360644editdlrm
unixccompiler.cpython-311.pyc132610644editdlrm
util.cpython-311.opt-1.pyc246630644editdlrm
util.cpython-311.opt-2.pyc188610644editdlrm
util.cpython-311.pyc246770644editdlrm
version.cpython-311.opt-1.pyc103480644editdlrm
version.cpython-311.opt-2.pyc70590644editdlrm
version.cpython-311.pyc103710644editdlrm
versionpredicate.cpython-311.opt-1.pyc72210644editdlrm
versionpredicate.cpython-311.opt-2.pyc47670644editdlrm
versionpredicate.cpython-311.pyc72210644editdlrm
_msvccompiler.cpython-311.opt-1.pyc242610644editdlrm
_msvccompiler.cpython-311.opt-2.pyc231240644editdlrm
_msvccompiler.cpython-311.pyc243440644editdlrm
__init__.cpython-311.opt-1.pyc8210644editdlrm
__init__.cpython-311.opt-2.pyc6380644editdlrm
__init__.cpython-311.pyc8210644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/distutils/__pycache__/cmd.cpython-311.opt-1.pyc (18797B)
§ šíźIl‡ãóp—dZddlZddlZddlZddlmZddlmZmZm Z m Z m Z ddlm Z Gd„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óø—eZdZdZgZd„Zd„Zd„Zd„Zd„Z d%d „Z d „Z d&d „Z d „Z d'd„Zd'd„Zd„Z d'd„Zd„Zd„Zd„Zd„Zd&d„Zd(d„Zd„Zd„Zd„Zd)d„Zd*d„Z d+d„Z d,d „Zd&d!„Zd-d"„Z d.d#„Z! d/d$„Z"dS)0Ú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. có—ddlm}t||¦«std¦«‚|jt urt d¦«‚||_| ¦«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 instancezCommand is an abstract classN)Údistutils.distrÚ isinstanceÚ TypeErrorÚ __class__r Ú RuntimeErrorÚ distributionÚinitialize_optionsÚ_dry_runÚverboseÚforceÚhelpÚ finalized)ÚselfÚdistrs ú4/opt/alt/python311/lib64/python3.11/distutils/cmd.pyÚ__init__zCommand.__init__/s¡€ð 0Ð/Ð/Ð/Ð/Ð/å˜$  Ñ-Ô-ð DÝÐBÑCÔCÐ CØ Œ>�WÐ $Ð $ÝÐ=Ñ>Ô>Ð >à ˆÔØ ×ÒÑ!Ô!Ð!ðˆŒ ð”|ˆŒ 𠈌 ðˆŒ ð ˆŒˆˆócó„—|dkr,t|d|z¦«}|€t|j|¦«S|St|¦«‚)NÚdry_runÚ_)ÚgetattrrÚAttributeError)rÚattrÚmyvals rÚ __getattr__zCommand.__getattr___sK€Ø �9Ò Ð Ý˜D #¨¡*Ñ-Ô-ˆE؈}ݘtÔ0°$Ñ7Ô7Ð7à� å  Ñ&Ô&Ð &rcóJ—|js| ¦«d|_dS©Né)rÚfinalize_options©rs rÚensure_finalizedzCommand.ensure_finalizedis)€ØŒ~ð $Ø × !Ò !Ñ #Ô #Ð #؈Œˆˆrcó0—td|jz¦«‚)aÙSet default values for all the options that this command supports. Note that these defaults may be overridden by other commands, by the setup script, by config files, or by the command-line. Thus, this is not the place to code dependencies between options; generally, 'initialize_options()' implementations are just a bunch of "self.foo = None" assignments. This method must be implemented by all command classes. ú,abstract method -- subclass %s must override©rrr,s rrzCommand.initialize_options{ó#€õÐIØ!œ^ñ,ñ-ô-ð -rcó0—td|jz¦«‚)aSet final values for all the options that this command supports. This is always called as late as possible, ie. after any option assignments from the command-line or from other commands have been done. Thus, this is the place to code option dependencies: if 'foo' depends on 'bar', then it is safe to set 'foo' from 'bar' as long as 'foo' still has the same value it was assigned in 'initialize_options()'. This method must be implemented by all command classes. r/r0r,s rr+zCommand.finalize_optionsˆs#€õÐIØ!œ^ñ,ñ-ô-ð -rNÚcóz—ddlm}|€d| ¦«z}| ||ztj¬¦«|dz}|jD]j\}}}| |¦«}|ddkr |dd…}t||¦«}| ||›d|›�ztj¬¦«ŒkdS) Nr)Ú longopt_xlatezcommand options for '%s':)Úlevelz éÿÿÿÿú=z = ) Údistutils.fancy_getoptr5Úget_command_nameÚannouncer ÚINFOÚ user_optionsÚ translater#)rÚheaderÚindentr5Úoptionr"Úvalues rÚ dump_optionszCommand.dump_options—së€Ø8Ð8Ð8Ð8Ð8Ð8Ø ˆ>Ø0°4×3HÒ3HÑ3JÔ3JÑJˆFØ � Š �f˜v‘o­S¬Xˆ Ñ6Ô6Ð6ؘ$‘ˆØ"Ô/ð *ð *‰NˆV�Q˜Ø×%Ò% mÑ4Ô4ˆFØ�bŒz˜SÒ Ð Ø   œ�ݘD &Ñ)Ô)ˆEØ �MŠM˜&°°°¸¸Ð#>Ñ>Ý #¤ð ñ *ô *ð *ð *ð  *ð *rcó0—td|jz¦«‚)a¾A command's raison d'etre: carry out the action it exists to perform, controlled by the options initialized in 'initialize_options()', customized by other commands, the setup script, the command-line, and config files, and finalized in 'finalize_options()'. All terminal output and filesystem interaction should be done by 'run()'. This method must be implemented by all command classes. r/r0r,s rÚrunz Command.run¥r1rr*có0—tj||¦«dS)zmIf the current verbosity level is of greater than or equal to 'level' print 'msg' to stdout. Nr )rÚmsgr6s rr;zCommand.announce²s€õ Œ��sÑÔÐÐÐrcót—ddlm}|r/t|¦«tj ¦«dSdS)z~Print 'msg' to stdout if the global DEBUG (taken from the DISTUTILS_DEBUG environment variable) flag is true. r)ÚDEBUGN)Údistutils.debugrIÚprintÚsysÚstdoutÚflush)rrGrIs rÚ debug_printzCommand.debug_print¸sM€ð *Ð)Ð)Ð)Ð)Ð)Ø ð Ý �#‰JŒJˆJÝ ŒJ× Ò Ñ Ô Ð Ð Ð ð ð rc ó¬—t||¦«}|€t|||¦«|St|t¦«st d|›d|›d|›d�¦«‚|S)Nú'z ' must be a z (got `z`))r#ÚsetattrrÚstrr)rrAÚwhatÚdefaultÚvals rÚ_ensure_stringlikezCommand._ensure_stringlikeÏsq€Ý�d˜FÑ#Ô#ˆØ ˆ;Ý �D˜& 'Ñ *Ô *Ð *؈NݘC¥Ñ%Ô%ð >Ý&Ð&Ø*0¨&¨&°$°$°$¸¸¸ð(=ñ>ô>ð >àˆ rcó4—| |d|¦«dS)zWEnsure that 'option' is a string; if not defined, set it to 'default'. ÚstringN)rW)rrArUs rÚ ensure_stringzCommand.ensure_stringÙs"€ð ×Ò ¨°'Ñ:Ô:Ð:Ð:Ð:rcó6—t||¦«}|€dSt|t¦«r&t||t jd|¦«¦«dSt|t ¦«rtd„|D¦«¦«}nd}|std|›d|›d�¦«‚dS)zîEnsure that 'option' is a list of strings. If 'option' is currently a string, we split it either on /,\s*/ or /\s+/, so "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become ["foo", "bar", "baz"]. Nz,\s*|\s+c3ó@K—|]}t|t¦«V—ŒdS©N)rrS)Ú.0Úvs rú z-Command.ensure_string_list..ìs,èè€Ð9Ð9°� A¥sÑ+Ô+Ð9Ð9Ð9Ð9Ð9Ð9rFrQz!' must be a list of strings (got ú)) r#rrSrRÚreÚsplitÚlistÚallr)rrArVÚoks rÚensure_string_listzCommand.ensure_string_listßsÁ€õ �d˜FÑ#Ô#ˆØ ˆ;Ø ˆFÝ ˜�SÑ !Ô !ð 'Ý �D˜&¥"¤(¨;¸Ñ"<Ô"<Ñ =Ô =Ð =Ð =Ð =å˜#�tÑ$Ô$ð ÝÐ9Ð9°SÐ9Ñ9Ô9Ñ9Ô9��à�Øð 'Ý*Ð*à˜˜   ð&ñ'ô'ð'ð 'ð 'rcó€—| |||¦«}|�"||¦«std|z||fz¦«‚dSdS)Nzerror in '%s' option: )rWr)rrAÚtesterrTÚ error_fmtrUrVs rÚ_ensure_tested_stringzCommand._ensure_tested_stringôs[€à×%Ò% f¨d°GÑ<Ô<ˆØ ˆ? 6 6¨#¡;¤;ˆ?Ý&Ð(@À9Ñ(LØ*0°#¨ñ(7ñ8ô8ð 8ð ˆ?ˆ?ˆ?rcóT—| |tjjdd¦«dS)z5Ensure that 'option' is the name of an existing file.Úfilenamez$'%s' does not exist or is not a fileN)rkÚosÚpathÚisfile©rrAs rÚensure_filenamezCommand.ensure_filenameûs7€à ×"Ò" 6­2¬7¬>Ø#-Ø#Iñ Kô Kð Kð Kð KrcóT—| |tjjdd¦«dS)Nzdirectory namez)'%s' does not exist or is not a directory)rkrnroÚisdirrqs rÚensure_dirnamezCommand.ensure_dirnames7€Ø ×"Ò" 6­2¬7¬=Ø#3Ø#Nñ Pô Pð Pð Pð PrcóH—t|d¦«r|jS|jjS)NÚ command_name)ÚhasattrrwrÚ__name__r,s rr:zCommand.get_command_name s(€Ý �4˜Ñ (Ô (ð +ØÔ$Ð $à”>Ô*Ð *rc óЗ|j |¦«}| ¦«|D]4\}}t||¦«€t ||t||¦«¦«Œ5dS)a>Set the values of any "undefined" options from corresponding option values in some other command object. "Undefined" here means "is None", which is the convention used to indicate that an option has not been changed between 'initialize_options()' and 'finalize_options()'. Usually called from 'finalize_options()' for options that depend on some other command rather than another option of the same command. 'src_cmd' is the other command from which option values will be taken (a command object will be created for it if necessary); the remaining arguments are '(src_option,dst_option)' tuples which mean "take the value of 'src_option' in the 'src_cmd' command object, and copy it to 'dst_option' in the current command object". N)rÚget_command_objr-r#rR)rÚsrc_cmdÚ option_pairsÚ src_cmd_objÚ src_optionÚ dst_options rÚset_undefined_optionszCommand.set_undefined_optionss{€ðÔ'×7Ò7¸Ñ@Ô@ˆ Ø×$Ò$Ñ&Ô&Ð&Ø(4ð Lð LÑ $ˆZ˜Ý�t˜ZÑ(Ô(Ð0ݘ˜j­'°+¸zÑ*JÔ*JÑKÔKÐKøð Lð Lrcód—|j ||¦«}| ¦«|S)zûWrapper around Distribution's 'get_command_obj()' method: find (create if necessary and 'create' is true) the command object for 'command', call its 'ensure_finalized()' method, and return the finalized command object. )rr{r-)rÚcommandÚcreateÚcmd_objs rÚget_finalized_commandzCommand.get_finalized_command$s3€ð Ô#×3Ò3°G¸VÑDÔDˆØ× Ò Ñ"Ô"Ð"؈rrcó8—|j ||¦«Sr])rÚreinitialize_command)rrƒÚreinit_subcommandss rrˆzCommand.reinitialize_command0s%€ØÔ ×5Ò5°gØ6HñJôJð Jrcó:—|j |¦«dS)zÂRun some other command: uses the 'run_command()' method of Distribution, which creates and finalizes the command object if necessary and then invokes its 'run()' method. N)rÚ run_command)rrƒs rr‹zCommand.run_command4s!€ð Ô×%Ò% gÑ.Ô.Ð.Ð.Ð.rcóh—g}|jD]'\}}|� ||¦«r| |¦«Œ(|S)akDetermine the sub-commands that are relevant in the current distribution (ie., that need to be run). This is based on the 'sub_commands' class attribute: each tuple in that list may include a method that we call to determine if the subcommand needs to be run for the current distribution. Return a list of command names. )Ú sub_commandsÚappend)rÚcommandsÚcmd_nameÚmethods rÚget_sub_commandszCommand.get_sub_commands;sI€ðˆØ"&Ô"3ð *ð *Ñ ˆX�v؈~  ¨¡¤ˆ~Ø—’ Ñ)Ô)Ð)øØˆrcóV—tjd| ¦«|¦«dS)Nzwarning: %s: %s )r Úwarnr:)rrGs rr”z Command.warnKs)€Ý ŒÐ$ d×&;Ò&;Ñ&=Ô&=¸sÑCÔCÐCÐCÐCrcó@—tj||||j¬¦«dS©N©r!)rÚexecuter!)rÚfuncÚargsrGr6s rr˜zCommand.executeNs#€Ý Œ �T˜4 ¨d¬lÐ;Ñ;Ô;Ð;Ð;Ð;réÿcó>—tj|||j¬¦«dSr–)rÚmkpathr!)rÚnameÚmodes rr�zCommand.mkpathQs!€ÝŒ˜˜d¨D¬LÐ9Ñ9Ô9Ð9Ð9Ð9rc óN—tj|||||j ||j¬¦«S)zÑCopy a file respecting verbose, dry-run and force flags. (The former two default to whatever is in the Distribution object, and the latter defaults to false for commands that don't define it.)r—)rÚ copy_filerr!)rÚinfileÚoutfileÚ preserve_modeÚpreserve_timesÚlinkr6s rr¡zCommand.copy_fileTs4€õ Ô" 6¨7°MØ#1°t´z°>À4Ø+/¬<ð9ñ9ô9ð 9rc óN—tj||||||j |j¬¦«S)z\Copy an entire directory tree respecting verbose, dry-run, and force flags. r—)rÚ copy_treerr!)rr¢r£r¤r¥Úpreserve_symlinksr6s rr¨zCommand.copy_tree]s9€õ Ô! &¨'°=Ø"0Ð2CØ&*¤j .¸$¼,ðHñHôHð Hrcó:—tj|||j¬¦«S)z$Move a file respecting dry-run flag.r—)rÚ move_filer!)rÚsrcÚdstr6s rr«zCommand.move_filefs€åÔ" 3¨°T´\ÐBÑBÔBÐBrcó8—ddlm}||||j¬¦«dS)z2Spawn an external command respecting dry-run flag.r)Úspawnr—N)Údistutils.spawnr¯r!)rÚcmdÚ search_pathr6r¯s rr¯z Command.spawnjs3€à)Ð)Ð)Ð)Ð)Ð)Ø ˆˆc�;¨¬ Ð5Ñ5Ô5Ð5Ð5Ð5rc óB—tj|||||j||¬¦«S)N)r!ÚownerÚgroup)rÚ make_archiver!)rÚ base_nameÚformatÚroot_dirÚbase_dirr´rµs rr¶zCommand.make_archiveos2€åÔ(¨°F¸HÀhØ15´Ø/4¸EðCñCôCð Crcój—|€d|z}t|t¦«r|f}n+t|ttf¦«st d¦«‚|€d|›dd |¦«›�}|jstj||¦«r|  ||||¦«dStj |¦«dS)aÌSpecial case of 'execute()' for operations that process one or more input files and generate one output file. Works just like 'execute()', except the operation is skipped and a different message printed if 'outfile' already exists and is newer than all files listed in 'infiles'. If the command defined 'self.force', and it is true, then the command is unconditionally run -- does no timestamp checks. Nzskipping %s (inputs unchanged)z9'infiles' must be a string, or a list or tuple of stringsz generating z from z, ) rrSrdÚtuplerÚjoinrrÚ newer_groupr˜r Údebug)rÚinfilesr£r™ršÚexec_msgÚskip_msgr6s rÚ make_filezCommand.make_fileus߀ð Ð Ø7¸'ÑAˆHõ �g�sÑ #Ô #ð OØ�jˆGˆGݘG¥d­E ]Ñ3Ô3ð OÝØMñOôOð Oð Ð Ð Ø29°'°'¸4¿9º9ÀWÑ;MÔ;MÐ;MÐNˆHð Œ:ð �Ô-¨g°wÑ?Ô?ð Ø �LŠL˜˜t X¨uÑ 5Ô 5Ð 5Ð 5Ð 5õ ŒI�hÑ Ô Ð Ð Ð r)Nr3)r*r])rr))r›)r*r*Nr*)r*r*rr*)r*r*)NNNN)NNr*)#ryÚ __module__Ú __qualname__Ú__doc__r�rr'r-rr+rCrEr;rOrWrZrgrkrrrur:r�r†rˆr‹r’r”r˜r�r¡r¨r«r¯r¶rérrr r sw€€€€€ð ð ð:€Lð -ð-ð-ð`'ð'ð'ðððð$ -ð -ð -ð -ð -ð -ð *ð *ð *ð *ð -ð -ð -ððððð ððð.ðððð;ð;ð;ð;ð 'ð'ð'ð,'+ð8ð8ð8ð8ðKðKðKð PðPðPð+ð+ð+ð LðLðLð*ððððJðJðJðJð/ð/ð/ð ð ð ð DðDðDð<ð<ð<ð<ð:ð:ð:ð:ðJKØ#$ð9ð9ð9ð9ðJKØ./ðHðHðHðHðCðCðCðCð6ð6ð6ð6ð GKØ'+ðCðCðCðCð78ð ð ð ð ð ð rr )rÆrLrnrbÚdistutils.errorsrÚ distutilsrrrrrr r rÇrrúrÊs¿ðððð ÐÐÐÐÐÐÐÐÐÐÐØ1Ð1Ð1Ð1Ð1Ð1ØGÐGÐGÐGÐGÐGÐGÐGÐGÐGÐGÐGÐGÐGØÐÐÐÐÐðG ðG ðG ðG ðG ñG ôG ðG ðG ðG r