hyb
2025-11-07 cadac0a99d87c53805a07f3b4ca7fd11e524fe4a
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
Ë
Añúh„ãóö—dZddlmZddlZddlmZddlmZddlm    Z    ddl
m Z ddl m Z dd    lmZd
d lmZd
d lmZe d «ZeedfZ                        dd„Z                dd„Z                        dd„Zd„Zd„Zd„Zd„Zd„Zd„Zy)aSHelper code used to generate ``requires.txt`` files in the egg-info directory.
 
The ``requires.txt`` file has an specific format:
    - Environment markers need to be part of the section headers and
      should not be part of the requirement spec itself.
 
See https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html#requires-txt
é)Ú annotationsN)Ú defaultdict)ÚMapping)Ú filterfalse)ÚTypeVar)Ú yield_lines)Ú Requirementé)Ú_reqs)Ú
_StrOrIterÚ_Tcó0—t|«}t||«S)zGiven values for ``install_requires`` and ``extras_require``
    create modified versions in a way that can be written in ``requires.txt``
    )Ú_convert_extras_requirementsÚ"_move_install_requirements_markers)Úinstall_requiresÚextras_requireÚextrass   úRH:\Change_password\venv_build\Lib\site-packages\setuptools/command/_requirestxt.pyÚ_preparers€ô *¨.Ó 9€FÜ -Ð.>ÀÓ GÐGócóú—ttttft«}|j «D]D\}}||t j|«D]"}||t|«zj|«Œ$ŒF|S)z‘
    Convert requirements in `extras_require` of the form
    `"extra": ["barbazquux; {marker}"]` to
    `"extra:{marker}": ["barbazquux"]`.
    )
rÚstrÚ_Orderedr    ÚdictÚitemsr ÚparseÚ _suffix_forÚ
setdefault)rÚoutputÚsectionÚvÚrs     rrr'sz€ôœœh¤{Ñ3Ð3Ñ 4´TÓ :€FØ$×*Ñ*Ó,ò;‰
ˆàˆwŠÜ—‘˜Q“ò    ;ˆAØ 7œ[¨›^Ñ+Ñ ,× 7Ñ 7¸Õ :ñ    ;ð;ð €MrcóZ—ttj|««}tt|«}t t|«}tt t|««}|D],}|dt|j«zj|«Œ.td„|j«D««}||fS)a+
    The ``requires.txt`` file has an specific format:
        - Environment markers need to be part of the section headers and
          should not be part of the requirement spec itself.
 
    Move requirements in ``install_requires`` that are using environment
    markers ``extras_require``.
    ú:c 3óŒK—|]<\}}|ttjd„tt|«D«««f–—Œ>y­w)c3ó2K—|]}t|«–—Œy­w©N)r)Ú.0r"s  rú    <genexpr>z?_move_install_requirements_markers.<locals>.<genexpr>.<genexpr>Rsèø€ÒB¨!œs 1ŸvÑBùs‚N)ÚlistrÚfromkeysÚmapÚ
_clean_req)r(Úkr!s   rr)z5_move_install_requirements_markers.<locals>.<genexpr>Ps>èø€òñ ˆAˆqð
ŒD”—‘ÑB¬s´:¸qÓ/AÔBÓBÓ CÔDñùs‚AA) r*r rÚfilterÚ
_no_markerrr,rÚmarkerrrr)rrÚ    inst_reqsÚ simple_reqsÚ complex_reqsÚsimple_install_requiresr"Úexpanded_extrass        rrr9s¢€ô”U—[‘[Ð!1Ó2Ó3€IÜœ YÓ/€KÜœz¨9Ó5€LÜ"¤3¤s¨KÓ#8Ó9Ðà ò:ˆØsœS §¡›]Ñ*Ñ+×6Ñ6°qÕ9ð:ôñð#×(Ñ(Ó*ôó€Oð # OÐ 3Ð3rcóN—|jrdt|j«zSdS)z;Return the 'extras_require' suffix for a given requirement.r$Ú)r1r©Úreqs rrrYs €à$'§J¢Jˆ3”S—Z‘Z“Ñ  Ð6°BÐ6rcó<—tt|««}d|_|S)z=Given a Requirement, remove environment markers and return itN)r    rr1)r:r"s  rr-r-^s€ä”C˜“HÓ€AØ€A„HØ €Hrcó—|j Sr')r1r9s rr0r0es€Øz‰zˆ>Ðrcób—t|xsd«}d„}t||«}|j|«y)N©có —|dzS)Nú
r>)Úlines rÚ    append_crz&_write_requirements.<locals>.append_crls €Ød‰{Ðr)rr,Ú
writelines)ÚstreamÚreqsÚlinesrBs    rÚ_write_requirementsrGis1€Ü ˜š
 Ó #€Eòô     ˜5Ó !€EØ
×ѐeÕrc    ó„—|j}tj«}t|jxsd|j
xsi«\}}t ||«t|«D]:}|jdjdit«¤Ž«t |||«Œ<|jd||j««y)Nr>z
[{extra}]
Ú requirements) Ú distributionÚioÚStringIOrrrrGÚsortedÚwriteÚformatÚvarsÚwrite_or_delete_fileÚgetvalue)ÚcmdÚbasenameÚfilenameÚdistÚdatarrÚextras        rÚwrite_requirementsrYss¬€Ø × Ñ €DÜ ;‰;‹=€DÜ'/Ø ×ÑÒ#  T×%8Ñ%8Ò%>¸Bó(Ñ$Аnô˜Ð.Ô/ܘÓ'ò9ˆØ 
‰
Ð)?×)Ñ)Ñ3¬D«FÑ3Ô4ܘD .°Ñ"7Õ8ð9ð×ј^¨X°t·}±}³ÕGrcó®—tj«}t||jj«|j d||j ««y)Nzsetup-requirements)rKrLrGrJÚsetup_requiresrQrR)rSrTrUrWs    rÚwrite_setup_requirementsr\€s<€Ü ;‰;‹=€Dܘ˜c×.Ñ.×=Ñ=Ô>Ø×ÑÐ1°8¸T¿]¹]»_ÕMr)rr rúMapping[str, _StrOrIter]Úreturnú&tuple[list[str], dict[str, list[str]]])rr]r^z'defaultdict[str, _Ordered[Requirement]])rr rz#Mapping[str, _Ordered[Requirement]]r^r_)Ú__doc__Ú
__future__rrKÚ collectionsrÚcollections.abcrÚ    itertoolsrÚtypingrÚ jaraco.textrÚpackaging.requirementsr    r8r r r rrrrrrr-r0rGrYr\r>rrú<module>rhs¶ðñõ#ã    Ý#Ý#Ý!Ýå#Ý.åÝñ ˆTƒ]€Ø D‰>€ðHØ ðHØ2JðHà+óHðØ,ðà,óð$4Ø ð4Ø2Uð4à+ó4ò@7ò
 òòò
HóNr