hyb
2025-11-10 e0a856b5072c5a09f3f6de6da85abf90e00ee704
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
Ë
ñúh°*ãó4—dZddlmZddlZddlZddlZddlZddlZddlm    Z    ddl
m Z ddl m Z mZddlmZddlmZmZdd    lmZmZej.e«ZGd
„d ej4«ZGd „d e«ZGd„dej:«ZGd„de«Zy)zBase option parser setupé)Ú annotationsN)Ú    Generator)Úsuppress)ÚAnyÚNoReturn)Ú UNKNOWN_ERROR)Ú ConfigurationÚConfigurationError)Úredact_auth_from_urlÚ    strtoboolcón‡—eZdZdZd
ˆfd„ Zd d„Z    d                             d d„Zdd„Zdd„Zdd„Z    dd„Z
dd    „Z ˆxZ S)ÚPrettyHelpFormatterz4A prettier/less verbose help formatter for optparse.cór•—d|d<d|d<tj«ddz
|d<t‰| |i|¤Žy)NéÚmax_help_positionéÚindent_incrementréÚwidth)ÚshutilÚget_terminal_sizeÚsuperÚ__init__)ÚselfÚargsÚkwargsÚ    __class__s   €úKH:\Change_password\venv_build\Lib\site-packages\pip/_internal/cli/parser.pyrzPrettyHelpFormatter.__init__sGø€à&(ˆÐ"Ñ#Ø%&ˆÐ!Ñ"Ü ×2Ñ2Ó4°QÑ7¸!Ñ;ˆˆw‰Ü ‰Ñ˜$Ð) &Ó)ócó$—|j|«S©N)Ú_format_option_strings)rÚoptions  rÚformat_option_stringsz)PrettyHelpFormatter.format_option_stringss€Ø×*Ñ*¨6Ó2Ð2rcóø—g}|jr|j|jd«|jr|j|jd«t|«dkDr|j    d|«|j «rd|j €J‚|jxs|j j«}|j|j|j«««dj|«S)zð
        Return a comma-separated list of option strings and metavars.
 
        :param option:  tuple of (short opt, long opt), e.g: ('-f', '--format')
        :param mvarfmt: metavar format string
        :param optsep:  separator
        rrÚ) Ú _short_optsÚappendÚ
_long_optsÚlenÚinsertÚ takes_valueÚdestÚmetavarÚlowerÚformatÚjoin)rr#ÚmvarfmtÚoptsepÚoptsr.s      rr"z*PrettyHelpFormatter._format_option_strings"s€ðˆà × Ò Ø K‰K˜×*Ñ*¨1Ñ-Ô .Ø × Ò Ø K‰K˜×)Ñ)¨!Ñ,Ô -Ü ˆt‹9qŠ=Ø K‰K˜˜6Ô "à × Ñ Ô Ø—;‘;Ð*Ð *Ð*Ø—n‘nÒ;¨¯ © ×(9Ñ(9Ó(;ˆGØ K‰K˜Ÿ™ w§}¡}£Ó7Ô 8àw‰wt‹}Ðrcó—|dk(ry|dzS)NÚOptionsr&ú:
©)rÚheadings  rÚformat_headingz"PrettyHelpFormatter.format_heading<s€Ø iÒ ØØ˜‰Ðrcón—dj|jtj|«d««}|S)zz
        Ensure there is only one newline between usage and the first heading
        if there is no description.
        z
Usage: {}
ú  )r0Ú indent_linesÚtextwrapÚdedent)rÚusageÚmsgs   rÚ format_usagez PrettyHelpFormatter.format_usageAs/€ð
×$Ñ$ T×%6Ñ%6´x·±ÀuÓ7MÈtÓ%TÓUˆØˆ
rcóޗ|rkt|jd«rd}nd}|jd«}|j«}|j    t j |«d«}|›d|›d}|Sy)NÚmainÚCommandsÚ Descriptionú
r<r7r&)ÚhasattrÚparserÚlstripÚrstripr=r>r?)rÚ descriptionÚlabels   rÚformat_descriptionz&PrettyHelpFormatter.format_descriptionIsq€á ܐt—{‘{ FÔ+Ø"‘à%à%×,Ñ,¨TÓ2ˆKà%×,Ñ,Ó.ˆKà×+Ñ+¬H¯O©O¸KÓ,HÈ$ÓOˆKØ"˜G 3 { m°2Ð6ˆKØÐ àrcó —|r|Sy)Nr&r8)rÚepilogs  rÚ format_epilogz!PrettyHelpFormatter.format_epilog[s €á ؈Màrcóp—|jd«Dcgc]}||z‘Œ    }}dj|«Scc}w©NrG)Úsplitr1)rÚtextÚindentÚlineÚ    new_liness     rr=z PrettyHelpFormatter.indent_linesbs7€Ø/3¯z©z¸$Ó/?Ö@ tV˜d“]Ð@ˆ    Ð@؏y‰y˜Ó#Ð#ùòAs” 3)rrrrÚreturnÚNone©r#úoptparse.OptionrYÚstr)z <{}>z, )r#r\r2r]r3r]rYr])r9r]rYr])r@r]rYr])rLú
str | NonerYr])rPr^rYr])rUr]rVr]rYr]) Ú__name__Ú
__module__Ú __qualname__Ú__doc__rr$r"r:rBrNrQr=Ú __classcell__©rs@rrrsUø„Ù>õ*ó3ðNRðØ%ðØ03ðØGJðà     óó4ó
óó$÷$rrcó$‡—eZdZdZdˆfd„ ZˆxZS)ÚUpdatingDefaultsHelpFormatterzÚCustom help formatter for use in ConfigOptionParser.
 
    This is updates the defaults before expanding them, allowing
    them to show up correctly in the help listing.
 
    Also redact auth from url type options
    có•—d}|jˆt|jt«sJ‚|jj|jj«|j
€J‚|jjj |j
«}t‰|!|«}|rV|jdk(rGt|t«r|g}t|t«sg}|D]}|j|t|««}Œ|S)NÚURL)rIÚ
isinstanceÚConfigOptionParserÚ_update_defaultsÚdefaultsr-ÚgetrÚexpand_defaultr.r]ÚlistÚreplacer )rr#Údefault_valuesÚ    help_textÚvalrs     €rrnz,UpdatingDefaultsHelpFormatter.expand_defaultpsâø€ØˆØ ;‰;Ð "ܘdŸk™kÔ+=Ô>Ð >Ð>Ø K‰K× (Ñ (¨¯©×)=Ñ)=Ô >Ø—;‘;Ð*Ð *Ð*Ø!Ÿ[™[×1Ñ1×5Ñ5°f·k±kÓBˆNÜ‘GÑ*¨6Ó2ˆ    á ˜fŸn™n°Ò5ܘ.¬#Ô.Ø"0Ð!1ô˜n¬dÔ3Ø!#à%ò NØ%×-Ñ-¨cÔ3GÈÓ3LÓM‘    ð NðÐrr[)r_r`rarbrnrcrds@rrfrfgsø„ñ÷ñrrfcó6—eZdZ                                dd„Zedd„«Zy)ÚCustomOptionParsercó–—|j|i|¤Ž}|jj«|jj||«|S)z*Insert an OptionGroup at a given position.)Úadd_option_groupÚ option_groupsÚpopr+)rÚidxrrÚgroups     rÚinsert_option_groupz&CustomOptionParser.insert_option_groupˆsH€ð&×%Ñ% tÐ6¨vÑ6ˆà ×Ñ×ÑÔ Ø ×Ñ×!Ñ! # uÔ-àˆ rcó|—|jdd}|jD]}|j|j«Œ|S)z<Get a list of all options, including those in option groups.N)Ú option_listrxÚextend)rÚresÚis   rÚoption_list_allz"CustomOptionParser.option_list_all“s@€ð×Ñ™qÐ!ˆØ×#Ñ#ò    &ˆAØ J‰Jq—}‘}Õ %ð    &ðˆ
rN)rzÚintrrrrrYzoptparse.OptionGroup)rYzlist[optparse.Option])r_r`rar|Úpropertyr‚r8rrruru‡s;„ð    Øð    Ø"ð    Ø.1ð    à    ó    ðòóñrrucóh‡—eZdZdZddœ                                    d
ˆfd„Zd d„Z        d d„Zd d„Zdd„Zdd    „Z    ˆxZ
S)rjzsCustom option parser which updates its defaults by checking the
    configuration files and environmental variablesF)Úisolatedcón•—||_t|«|_|jsJ‚t‰||i|¤Žyr!)Únamer    Úconfigrr)rrˆr†rrrs     €rrzConfigOptionParser.__init__¡s6ø€ðˆŒ    Ü# HÓ-ˆŒ àyŠyЈyÜ ‰Ñ˜$Ð) &Ó)rc󮗠   |j||«S#tj$r-}td|›«t    j
d«Yd}~yd}~wwxYw)Nz(An error occurred during configuration: é)Ú check_valueÚoptparseÚOptionValueErrorÚprintÚsysÚexit)rr#ÚkeyrsÚexcs     rÚ check_defaultz ConfigOptionParser.check_default®sM€ð    Ø×%Ñ% c¨3Ó/Ð /øÜ×(Ñ(ò    Ü Ð<¸S¸EÐBÔ CÜ H‰HQK‰Kûð    ús‚”A§#AÁAc#ó†K—d|jdg}|Dcic]}|g“Œ}}|jj«D]z\}}|j«D]N\}}|stj    d|«Œ|j dd«\}}    ||vsŒ9||j |    |f«ŒP|D]}||Ed{–—†ŒŒ|ycc}w7Œ­w)NÚglobalz:env:z6Ignoring configuration key '%s' as its value is empty.ú.r)rˆr‰ÚitemsÚloggerÚdebugrTr()
rÚoverride_orderrˆÚ section_itemsÚ_ÚvalueÚ section_keyrsÚsectionr’s
          rÚ _get_ordered_configuration_itemsz3ConfigOptionParser._get_ordered_configuration_itemsµsìèø€ð# D§I¡I¨wÐ7ˆð"0ö;
؈D"‰Hð;
ˆ ð;
🠙 ×)Ñ)Ó+ò    2‰HˆAˆuØ$)§K¡K£Mò >Ñ  ˜SáÜ—L‘LØPØ#ôðà*×0Ñ0°°aÓ8‘ ˜Ø˜nÒ,Ø! 'Ñ*×1Ñ1°3¸°*Õ=ð >ð*ò 2Ø(¨Ñ1×1Ñ1ñ 2ñ    2ùò    ;
ð(2ús"‚C–
B: A*C %CÂ0B?Â1Cc    óà—tj|j«|_t    «}|j «D]¿\}}|j d|z«}|€Œ|j€J‚|jdvr    t|«}ni|jdk(rstt«5t|«}ddd«tt«5t|«}ddd«t|t«r|dkrÿ|j|›d|›d«nç|jd    k(r1|j«}|Dcgc]}|j!|||«‘Œ}}n§|jd
k(r…|j"€J‚|j%|j«|j'«}|j)||«}|j*xsd }|j,xsi}    |j"||||g|¢­i|    ¤Žn|j!|||«}|||j<ŒÂ|D]}t/|j|«||<Œd|_|S#t$r|j|›d|›d«YŒ]wxYw#1swYŒ¢xYw#1swYŒŒxYwcc}w) z¢Updates the given defaults with values from the config files and
        the environ. Does a little special handling for certain types of
        options (lists).z--N)Ú
store_trueÚ store_falsez is not a valid value for zO option, please specify a boolean value like yes/no, true/false or 1/0 instead.Úcountrz† option, please instead specify either a non-negative integer or a boolean value like yes/no or false/true which is equivalent to 1/0.r(Úcallbackr8)rÚValuesrlÚvaluesÚsetr¡Ú
get_optionr-Úactionr Ú
ValueErrorÚerrorrrƒrirTr”r¦ÚaddÚget_opt_stringÚ convert_valueÚ callback_argsÚcallback_kwargsÚgetattr)
rrlÚ    late_evalr’rsr#ÚvÚopt_strrrs
          rrkz#ConfigOptionParser._update_defaultsÒsa€ô —o‘o d§m¡mÓ4ˆŒ Ü“Eˆ    à×=Ñ=Ó?ó0    (‰HˆCà—_‘_ T¨C¡ZÓ0ˆFð
ˆ~Øà—;‘;Ð*Ð *Ð*à}‰}Р=Ñ=ðÜ# C›.’Cð—‘ 'Ò)ÜœjÓ)ñ)Ü# C›.C÷)äœjÓ)ñ#ܘc›(C÷#ä! #¤sÔ+¨s°QªwØ—J‘Jؘ%Ð9¸#¸ð?6ð6õð —‘ (Ò*Ø—i‘i“kØCFÖG¸at×)Ñ)¨&°#°qÕ9ÐGÑGØ—‘ *Ò,Ø—‘Ð2Ð2Ð2Ø— ‘ ˜fŸk™kÔ*Ø ×/Ñ/Ó1Ø×*Ñ*¨7°CÓ8à×+Ñ+Ò1¨rØ×/Ñ/Ò5°2Ø—‘ ¨°°dÐL¸TÒLÀVÓLà×(Ñ(¨°°cÓ:à$'ˆHV—[‘[Ó !ða0    (ðdò    6ˆCÜ# D§K¡K°Ó5ˆHSŠMð    6àˆŒ ؈øôM"òØ—J‘Jؘ%Ð9¸#¸ð?5ð5öðú÷)ñ)ú÷#ñ#üòHs0Á: H+Â% Ià IÄ,I+È+ IÉ IÉI    ÉI(    cóp—|jstj|j«S    |jj «|j|jj««}|j«D]k}|j€J‚|j|j«}t|t«sŒ=|j!«}|j#||«||j<Œmtj|«S#t $r)}|jtt|««Yd}~Œéd}~wwxYw)z‹Overriding to make updating the defaults after instantiation of
        the option parser possible, _update_defaults() does the dirty work.N)Úprocess_default_valuesrr§rlr‰Úloadr
r‘rr]rkÚcopyÚ_get_all_optionsr-rmrir¯rŒ)rÚerrrlr#Údefaultr¶s      rÚget_default_valuesz%ConfigOptionParser.get_default_valuessû€ð×*Ò*ä—?‘? 4§=¡=Ó1Ð 1ð    /Ø K‰K× Ñ Ô ð×(Ñ(¨¯©×);Ñ);Ó)=Ó>ˆØ×+Ñ+Ó-ò    MˆFØ—;‘;Ð*Ð *Ð*Ø—l‘l 6§;¡;Ó/ˆGܘ'¤3Õ'Ø ×/Ñ/Ó1Ø(.×(:Ñ(:¸7ÀGÓ(L˜Ÿ™Ò%ð     Mô ‰˜xÓ(Ð(øô"ò    /Ø I‰I”m¤S¨£X× .Ñ .ûð    /ús­DÄ    D5Ä D0Ä0D5cót—|jtj«|jt|›d«yrS)Ú print_usagerÚstderrr‘r)rrAs  rr­zConfigOptionParser.error(s(€Ø ×ÑœŸ™Ô$Ø     ‰    ”- C 5¨ Õ,r)
rrrˆr]r†ÚboolrrrYrZ)r#r\r’r]rsrrYr)rYz&Generator[tuple[str, Any], None, None])rlúdict[str, Any]rYrÃ)rYzoptparse.Values)rAr]rYr) r_r`rarbrr”r¡rkr¾r­rcrds@rrjrjsdø„ñ7ðñ     *àð *ðð *ðð     *ð
ð *ð
õ *óð2à    /ó2ó:>ó@)÷,-rrj) rbÚ
__future__rÚloggingrrrr>Úcollections.abcrÚ
contextlibrÚtypingrrÚpip._internal.cli.status_codesrÚpip._internal.configurationr    r
Úpip._internal.utils.miscr r Ú    getLoggerr_r™ÚIndentedHelpFormatterrrfÚ OptionParserrurjr8rrú<module>rÏs‚ðÙå"ãÛÛ Û
ÛÝ%Ýß å8ßIßDà    ˆ×    Ñ    ˜8Ó    $€ôO$˜(×8Ñ8ôO$ôdÐ$7ôô@˜×.Ñ.ôô,M-Ð+õM-r