hyb
2025-11-18 7539e6f48c75dcaeb808359cccfd1c0d0d182ce8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
Ë
@ñúh®Fãó8—dZddlmZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlmZmZmZddlmZmZddlmZddlmZdd    lmZdd
lmZmZdd lmZerdd lm Z m!Z!e d «Z"d$d„Z#d$d„Z$e jJdk(rda&dZ'd„Z(d„Z)d„Z*d%d„Z+ed&d„«Z,                        d'd„Z-ej\d(d„«Z/d)d„Z0d„Z1d*d+d„Z2dxa3xa4a5d„Z6d,d„Z7            d-                                            d.d„Z8d/d„Z9                            d0                                                                    d1d „Z:d2d!„Z;d3d"„Z<d#„Z=y)4zudistutils.util
 
Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules.
é)Ú annotationsN)ÚCallableÚIterableÚMapping)Ú TYPE_CHECKINGÚAnyStr)Ú    pass_noneé)Úlog)Únewer)ÚDistutilsByteCompileErrorÚDistutilsPlatformError)Úspawn)Ú TypeVarTupleÚUnpackÚ_Tscó*—tj«S)z·
    Return a string that identifies the current platform. Use this
    function to distinguish platform-specific build directories and
    platform-specific built distributions.
    )Ú    sysconfigÚ get_platform©óúMH:\Change_password\venv_build\Lib\site-packages\setuptools/_distutils/util.pyÚget_host_platformr#s€ô × !Ñ !Ó #Ð#rcó—tjdk(rCdddddœ}tjjd«}|j|«xs
t    «St    «S)NÚntÚwin32z    win-amd64z    win-arm32z    win-arm64)Úx86Úx64ÚarmÚarm64ÚVSCMD_ARG_TGT_ARCH)ÚosÚnameÚenvironÚgetr)ÚTARGET_TO_PLATÚtargets  rrr1sX€Ü    ‡ww$‚àØØØ ñ    
ˆô —‘—‘Р4Ó5ˆØ×!Ñ! &Ó)Ò@Ô->Ó-@Ð@Ü Ó ÐrÚdarwinÚMACOSX_DEPLOYMENT_TARGETcó—day)zFor testing only. Do not call.N)Ú_syscfg_macosx_verrrrÚ_clear_cached_macosx_verr,Cs
€ðÑrcób—t€$ddlm}|jt«xsd}|r|atS)z’Get the version of macOS latched in the Python interpreter configuration.
    Returns the version as a string or None if can't obtain one. Cached.r)rÚ)r+Ú    distutilsrÚget_config_varÚMACOSX_VERSION_VAR)rÚvers  rÚ!get_macosx_target_ver_from_syscfgr3Is4€ôÐ!Ý'à&ˆi×&Ñ&Ô'9Ó:Ò@¸bˆÙ Ø!$Ð Ü Ðrcóè—t«}tjjt«}|rB|r>t |«ddgk\r.t |«ddgkrdtzd|›d|›dz}t |«‚|S|S)aReturn the version of macOS for which we are building.
 
    The target version defaults to the version in sysconfig latched at time
    the Python interpreter was built, unless overridden by an environment
    variable. If neither source has a value, then None is returnedé
éú$z mismatch: now "z" but "z*" during configure; must use 10.3 or later)r3r"r$r%r1Ú split_versionr)Ú
syscfg_verÚenv_verÚmy_msgs   rÚget_macosx_target_verr<Vs€ô3Ó4€J܏j‰jn‰nÔ/Ó0€Gáñ ܘjÓ)¨b°!¨WÒ4ܘgÓ&¨"¨a¨Ò0ðÔ(Ñ(ð,ؐy ¨
 |ð4)ð,)ñ)ð ô
)¨Ó0Ð 0ØˆØ Ðrcó\—|jd«Dcgc] }t|«‘Œc}Scc}w)zEConvert a dot-separated string into a list of numbers for comparisonsú.)ÚsplitÚint)ÚsÚns  rr8r8vs"€àŸG™G C›LÖ )qŒCFÒ )Ð)ùÒ )s”)cóR—tjtj|««S)a.
    Allow for pathlib.Path inputs, coax to a native path string.
 
    If None is passed, will just pass it through as
    Setuptools relies on this behavior.
 
    >>> convert_path(None) is None
    True
 
    Removes empty paths.
 
    >>> convert_path('foo/./bar').replace('\\', '/')
    'foo/bar'
    )r"ÚfspathÚpathlibÚPurePath)Úpathnames rÚ convert_pathrH{s€ô  9‰9”W×%Ñ% hÓ/Ó 0Ð0rcó—tjdk(rbtjj|«s tjj    ||«Stjj    ||dd«Stjdk(r]tjj |«\}}|dtj k(r|dd}tjj    ||«Stdtj›d«‚)a    Return 'pathname' with 'new_root' prepended.  If 'pathname' is
    relative, this is equivalent to "os.path.join(new_root,pathname)".
    Otherwise, it requires making 'pathname' relative and then joining the
    two, which is tricky on DOS/Windows and Mac OS.
    Úposixr
Nrrznothing known about platform 'ú')r"r#ÚpathÚisabsÚjoinÚ
splitdriveÚsepr)Únew_rootrGÚdriverLs    rÚ change_rootrSŽs¼€ô
‡ww'Ò܏w‰w}‰}˜XÔ&Ü—7‘7—<‘< ¨(Ó3Ð 3ä—7‘7—<‘< ¨(°1°2¨,Ó7Ð 7ä     ‰DŠÜŸ™×*Ñ*¨8Ó4‰ ˆØ ‰7”b—f‘fÒ Ø˜˜8ˆD܏w‰w|‰|˜H dÓ+Ð+ä
 Ð#AÄ"Ç'Á'ÀÈ!Ð!LÓ
MÐMrcóL—tjdk(rNdtjvr<    ddl}|j    tj
««dtjd<dtjvrt«tjd<yy#t tf$rYŒ@wxYw)aLEnsure that 'os.environ' has all the environment variables we
    guarantee that users can use in config files, command-line options,
    etc.  Currently this includes:
      HOME - user's home directory (Unix only)
      PLAT - description of the current platform, including hardware
             and OS (see 'get_platform()')
    rJÚHOMErNéÚPLAT)    r"r#r$ÚpwdÚgetpwuidÚgetuidÚ ImportErrorÚKeyErrorr)rXs rÚ check_environr]¥sƒ€ô
‡ww'Ò˜f¬B¯J©JÑ6ð    Û à!$§¡¬b¯i©i«kÓ!:¸1Ñ!=ŒBJ‰JvÑ ð ”R—Z‘ZÑÜ)›^Œ
‰
6Òð øô œXÐ&ò    ñ ð    ús§;BÂB#Â"B#có—t«ttj«}|j    d„|j «D««    t |«j|«S#t$r}td|›«‚d}~wwxYw)aÃ
    Perform variable substitution on 'string'.
    Variables are indicated by format-style braces ("{var}").
    Variable is substituted by the value found in the 'local_vars'
    dictionary or in 'os.environ' if it's not in 'local_vars'.
    'os.environ' is first checked/augmented to guarantee that it contains
    certain values: see 'check_environ()'.  Raise ValueError for any
    variables not found in either 'local_vars' or 'os.environ'.
    c3ó<K—|]\}}|t|«f–—Œy­w©N©Ústr)Ú.0r#Úvalues   rú    <genexpr>zsubst_vars.<locals>.<genexpr>Èsèø€ÒK©¨¨u4œ˜U›Ô$ÑKùs‚zinvalid variable N)
r]Údictr"r$ÚupdateÚitemsÚ _subst_compatÚ
format_mapr\Ú
ValueError)rAÚ
local_varsÚlookupÚvars    rÚ
subst_varsro¼sp€ô„OÜ ”"—*‘*Ó €FØ
‡MMÑK¸
×8HÑ8HÓ8JÔKÔKð4ܘQÓ×*Ñ*¨6Ó2Ð2øÜ ò4ÜÐ,¨S¨EÐ2Ó3Ð3ûð4úsÁ A%Á%    BÁ.A<Á<Bcóx—d„}tjd||«}||k7rddl}|jdt«|S)zb
    Replace shell/Perl-style variable substitution with
    format-style. For compatibility.
    có,—d|jd«›dS)Nú{r
ú})Úgroup)Úmatchs rÚ_substz_subst_compat.<locals>._substÕs€ØE—K‘K “NÐ# 2Ð&Ð&rz\$([a-zA-Z_][a-zA-Z_0-9]*)rNz-shell/Perl-style substitutions are deprecated)ÚreÚsubÚwarningsÚwarnÚDeprecationWarning)rArvÚreplrys    rririÏs?€ò 'ô 6‰6Ð/°¸Ó ;€DØ ˆq‚yÛà ‰ Ø ;Ü ô    
ð €Krcó—|t|«zSr`ra)ÚexcÚprefixs  rÚgrok_environment_errorr€ãs€ð ”C˜“HÑ Ðrcó¦—tjdtj›d«atjd«atjd«ay)Nz[^\\\'\"z ]*z'(?:[^'\\]|\\.)*'z"(?:[^"\\]|\\.)*")rwÚcompileÚstringÚ
whitespaceÚ _wordchars_reÚ
_squote_reÚ
_dquote_rerrrÚ _init_regexrˆîs>€ä—J‘J (¬6×+<Ñ+<Ð*=¸SÐAÓB€MÜ—‘Ð0Ó1€JÜ—‘Ð0Ó1Jrcó.—t€
t«|j«}g}d}|rmtj||«}|j    «}|t |«k(r|j |d|«    |S||tjvr*|j |d|«||dj«}d}n½||dk(r|d|||dzdz}|dz}n¡||dk(rtj||«}n1||dk(rtj||«}ntd||›d«‚|€td    ||›d
«‚|j«\}}|d|||dz|dz
z||dz}|j    «d z
}|t |«k\r|j |«    |S|rŒm|S) aSplit a string up according to Unix shell-like rules for quotes and
    backslashes.  In short: words are delimited by spaces, as long as those
    spaces are not escaped by a backslash, or inside a quoted string.
    Single and double quotes are equivalent, and the quote characters can
    be backslash-escaped.  The backslash is stripped from any two-character
    escape sequence, leaving only the escaped character.  The quote
    characters are stripped from any quoted string.  Returns a list of
    words.
    Nrú\r
rKú"zthis can't happen (bad char 'z')zbad string (mismatched z     quotes?)é)r…rˆÚstripruÚendÚlenÚappendrƒr„Úlstripr†r‡Ú RuntimeErrorrkÚspan)rAÚwordsÚposÚmrŽÚbegs      rÚ split_quotedr˜õsÀôÐÜŒ à    ‰‹    €AØ €EØ
€Câ
Ü × Ñ   3Ó 'ˆØe‰e‹gˆØ ”#a“&Š=Ø L‰L˜˜4˜C˜Ô !Ø ðD €LðA ˆS‰6”V×&Ñ&Ñ &ð L‰L˜˜4˜C˜Ô !ؐ#$—‘Ó ˆA؉Cà ˆs‰VtŠ^ð$3˜!˜C !™G˜I˜,Ñ&ˆAؘ‘'‰Cð‰v˜Š}Ü×$Ñ$ Q¨Ó,‘ؐ3‘˜3’Ü×$Ñ$ Q¨Ó,‘ä"Ð%BÀ1ÀSÁ6À(È"Ð#MÓNÐNàˆyÜ Ð#:¸1¸S¹6¸(À)Ð!LÓMÐMàŸ™›‰JˆS#ؐ$3˜!˜C !™G c¨A¡gÐ.Ñ.°°3°4°Ñ8ˆAØ—%‘%“'˜A‘+ˆCà ”#a“&Š=Ø L‰L˜ŒOØ à €LóO ðN €Lrcó‚—|€ |j›|›}|dddk(r|dddz}tj|«|s||Žyy)a}
    Perform some action that affects the outside world (e.g. by
    writing to the filesystem). Such actions are special because they
    are disabled by the 'dry_run' flag. This method handles that
    complication; simply supply the
    function to call and an argument tuple for it (to embody the
    "external action" being performed) and an optional message to
    emit.
    Néþÿÿÿz,)rú))Ú__name__r Úinfo)ÚfuncÚargsÚmsgÚverboseÚdry_runs     rÚexecuter£7sR€ð  €{Ø—‘ ˜xÐ(ˆØ ˆrˆsˆ8tÒ Øa˜)˜c‘/ˆCä‡HHˆS„MÙ Ù ˆdŠ ð rcóR—|j«}|dvry|dvrytd|›«‚)zôConvert a string representation of truth to true (1) or false (0).
 
    True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
    are 'n', 'no', 'f', 'false', 'off', and '0'.  Raises ValueError if
    'val' is anything else.
    )ÚyÚyesÚtÚtrueÚonÚ1T)rBÚnoÚfÚfalseÚoffÚ0Fzinvalid truth value )Úlowerrk)Úvals rÚ    strtoboolr²Qs:€ð )‰)‹+€CØ
Ð2Ñ2ØØ     Ð5Ñ    5ØäÐ/°¨wÐ7Ó8Ð8rcó—tjr td«‚|€|dk(}|s*tjd«\}}    t j d|    «|s†tj|dd¬«}
|
5|
jd    «|
jd
jtt|««d z«|
jd |›d |›d|›d|›d|›d «ddd«tjg} | jtj ««| j#|    «t%| |¬«t'tj(|    fd|    ›|¬«yddlm} |D]} | dddk7rŒ |dk\r+|dk(rdn|}t.j0j3| |¬«}nt.j0j3| «}| }|r0| dt5|«|k7rt7d| ›d|›«‚|t5|«d}|r tj8j||«}tj8j;|«}|sŒÔ|s t=| |«r&t j d| |«|rŒü| | ||«Œt j>d| |«Œ!y#1swYŒ©xYw)a~Byte-compile a collection of Python source files to .pyc
    files in a __pycache__ subdirectory.  'py_files' is a list
    of files to compile; any files that don't end in ".py" are silently
    skipped.  'optimize' must be one of the following:
      0 - don't optimize
      1 - normal optimization (like "python -O")
      2 - extra optimization (like "python -OO")
    If 'force' is true, all files are recompiled regardless of
    timestamps.
 
    The source filename encoded in each bytecode file defaults to the
    filenames listed in 'py_files'; you can modify these with 'prefix' and
    'basedir'.  'prefix' is a string that will be stripped off of each
    source filename, and 'base_dir' is a directory name that will be
    prepended (after 'prefix' is stripped).  You can supply either or both
    (or neither) of 'prefix' and 'base_dir', as you wish.
 
    If 'dry_run' is true, doesn't actually do anything that would
    affect the filesystem.
 
    Byte-compilation is either done directly in this interpreter process
    with the standard py_compile module, or indirectly by writing a
    temporary script and executing it.  Normally, you should let
    'byte_compile()' figure out to use direct compilation or not (see
    the source for details).  The 'direct' flag is used by the script
    generated in indirect mode; unless you know what you're doing, leave
    it set to None.
    zbyte-compiling is disabled.Nrz.pyz$writing byte-compilation script '%s'Úwzutf-8)Úencodingz2from distutils.util import byte_compile
files = [
z,
z]
z
byte_compile(files, optimize=z, force=z,
             prefix=z , base_dir=z,
             verbose=z+, dry_run=False,
             direct=True)
)r¢z    removing )r‚éýÿÿÿr.)Ú optimizationzinvalid prefix: filename z doesn't start with zbyte-compiling %s to %sz%skipping byte-compilation of %s to %s) ÚsysÚdont_write_bytecoder ÚtempfileÚmkstempr rr"ÚfdopenÚwriterNÚmapÚreprÚ
executableÚextendÚ
subprocessÚ"_optim_args_from_interpreter_flagsrrr£ÚremoveÚ
py_compiler‚Ú    importlibÚutilÚcache_from_sourcerrkrLÚbasenamer Údebug)Úpy_filesÚoptimizeÚforcerÚbase_dirr¡r¢ÚdirectÚ    script_fdÚ script_nameÚscriptÚcmdr‚ÚfileÚoptÚcfileÚdfileÚ
cfile_bases                  rÚ byte_compilerÙasl€ôP ×ÒÜ'Ð(EÓFÐFð€~Ø'¨1™}ˆò Ü#+×#3Ñ#3°EÓ#:Ñ ˆKÜ ‰Ð7¸ÔEÙÜ—Y‘Y˜y¨#¸Ô@ˆFàñ Ø— ‘ ðôð"— ‘ ˜UŸZ™Z¬¬D°(Ó(;Ó<¸uÑDÔEØ— ‘ ðØ&˜\¨°%°ð;ؐJ˜k¨(¨ð6ؐ[ð!ðô÷' ô8~‰~ÐˆØ 
‰
”:×@Ñ@ÓBÔCØ 
‰
;ÔÜ ˆc˜7Õ#Ü”—    ‘    ˜K˜>¨Y°{°mÐ+DÈgÖVõ    'àó    YˆDؐBCˆy˜EÒ!ðð
˜1Š}Ø$¨šM‘b¨xÜ!Ÿ™×8Ñ8¸ÈCÐ8ÓP‘ä!Ÿ™×8Ñ8¸Ó>ØˆEÙØ˜ œ#˜f›+Ð&¨&Ò0Ü$Ø3°D°8Ð;OÐPVÈzÐZóððœc &›k˜mÐ,ÙÜŸ™Ÿ ™  X¨uÓ5äŸ™×)Ñ)¨%Ó0ˆJÚÙœE $¨Ô.Ü—H‘HÐ6¸¸jÔIÚ"Ù  e¨UÖ3ä—I‘IÐEÀtÈZÖXñ?    Y÷S ñ ús Á0A$I;É;Jcóž—d}|jd¬«}|xr|dj«d|dk7}|r|nd}|j|«|zS)zŒReturn a version of the string escaped for inclusion in an
    RFC-822 header, by ensuring there are 8 spaces space after each newline.
    z        T)Úkeependséÿÿÿÿrr.)Ú
splitlinesrN)ÚheaderÚindentÚlinesÚends_in_newlineÚsuffixs     rÚ rfc822_escaperãìs`€ð€FØ × Ñ  tÐ Ó ,€EðÒF  b¡    × 4Ñ 4Ó 6°qÑ 9¸UÀ2¹YÑ F€OÙ&‰V¨B€Fà ;‰;uÓ  Ñ &Ð&rcó^—tjdk(xrt«jd«S)zŸReturns True if the current platform is mingw.
 
    Python compiled with Mingw-w64 has sys.platform == 'win32' and
    get_platform() starts with 'mingw'.
    rÚmingw)r¸ÚplatformrÚ
startswithrrrÚis_mingwrèûs%€ô <‰<˜7Ñ "Ò I¤|£~×'@Ñ'@ÀÓ'IÐIrcó>—ttjd««S)zKReturn True if the Python interpreter is built with free threading support.ÚPy_GIL_DISABLED)Úboolrr0rrrÚis_freethreadedrìs€ä ”    ×(Ñ(Ð):Ó;Ó <Ð<r)Úreturnrb)rArbríz    list[int])rGzstr | os.PathLike[str]rírb)rQúAnyStr | os.PathLike[AnyStr]rGrîrír)ríÚNone)rlzMapping[str, object]rírb)zerror: )r~Úobjectrrbrírb)rArbríz    list[str])NFF) ržzCallable[[Unpack[_Ts]], object]rŸztuple[Unpack[_Ts]]r rðr¡rër¢rërírï)r±rbrírë)rFNNTFN)rËz Iterable[str]rÌr@rÍrërú
str | NonerÎrñr¡rër¢rërÏz bool | Nonerírï)rÞrbrírb)rírë)>Ú__doc__Ú
__future__rÚ    functoolsÚimportlib.utilrÆr"rErwrƒrÂr¸rrºÚcollections.abcrrrÚtypingrrÚjaraco.functoolsr    Ú_logr Ú    _modifiedr Úerrorsr rrÚtyping_extensionsrrrrrrær+r1r,r3r<r8rHrSÚ    lru_cacher]rorir€r…r†r‡rˆr˜r£r²rÙrãrèrìrrrú<module>rþsìðñõ #ãÛÛ    ÛÛ    Û ÛÛ
ÛÛß7Ñ7ß(å&åÝßEÝáß6á
uÓ
€Có $ó
ð‡<<8ÒØÐØ/Ðòò
òó@*ð
 ò1ó ð1ð$NØ*ðNØ6RðNà óNð. ×Ñò,óð,ó,4ò&ô(ð+/Ð.€ Ð.
˜Zò2ó<ðJØØð Ø
)ðà
ðð
ððð    ð
ð ð 
ó ó4 9ð$ØØØØØØðHYØðHYàðHYð ðHYð ð    HYð
ð HYð ð HYððHYð ðHYð
óHYóV 'óJó=r