a0bio nSrSSKrSSKJr SSKJr SSKJrJrJ r J r J r SSK J r SSKJr SS KJr \ "S 5r\\S4r\r\ R,rS \S \ \\4S \ \\\\\\444SjrS \S \ \\\44SjrS \S \ \\\4S \ \\\\\\444SjrSrSrSrSrSrSr g)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 N) defaultdict) filterfalse)DictListTupleMappingTypeVar)_reqs) yield_lines) Requirement_Tinstall_requiresextras_requirereturnc.[U5n[X5$)zGiven 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)rrextrass ژ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/command/_requirestxt.py_preparers *. 9F -.> GGc[[5nUR5HEup#X [R"U5H"nX[ U5-R U5 M$ MG U$)z Convert requirements in `extras_require` of the form `"extra": ["barbazquux; {marker}"]` to `"extra:{marker}": ["barbazquux"]`. )rdictitemsr parse _suffix_for setdefault)routputsectionvrs rrr$s[3>d2CF$**, QA [^+ , 7 7 : - Mrc^[[R"U55n[[U5n[ [U5n[[ [U55nUH-nUS[UR5-RU5 M/ [SUR555nXW4$)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# UH<upU[[RS[[U55554v M> g7f)c38# UHn[U5v M g7fN)str).0r"s r ?_move_install_requirements_markers...OsB/A!s1vv/AsN)listrfromkeysmap _clean_req)r)kr!s rr*5_move_install_requirements_markers..Ms;+DA DBs:q/ABB CD*sAA) r,r rfilter _no_markerrr.r(markerrrr)rr inst_reqs simple_reqs complex_reqssimple_install_requiresr"expanded_extrass rrr6sU[[!123IY/Kz95L"3sK#89 sS]*+66q9#((*O # 33rcXUR(aS[UR5-$S$)z;Return the 'extras_require' suffix for a given requirement.r$)r4r(reqs rrrVs $'JJ3SZZ 6B6rc<[[U55nSUlU$)z=Given a Requirement, remove environment markers and return itN)r r(r4)r=r"s rr/r/[sCHAAH Hrc$UR(+$r')r4r<s rr3r3bszz>rcj[U=(d S5nSn[X25nURU5 g)Nc US-$)N rA)lines r append_cr&_write_requirements..append_cris d{r)r r. writelines)streamreqslinesrEs r_write_requirementsrKfs/   #E  !E erc URn[R"5n[UR=(d SUR =(d 05upV[ XE5 [U5H:nURSR"S0[5D65 [ XFU5 M< URSX$R55 g)NrAz [{extra}] requirements) distributionioStringIOrrrrKsortedwriteformatvarswrite_or_delete_filegetvalue)cmdbasenamefilenamedistdatarrextras rwrite_requirementsr]ps   D ;;=D'/ #T%8%8%>B($/' ?))3DF34D"78(^X}}Grc[R"5n[X0RR5 UR SX#R 55 g)Nzsetup-requirements)rOrPrKrNsetup_requiresrUrV)rWrXrYr[s rwrite_setup_requirementsr`}s8 ;;=D..==>18]]_Mr)!__doc__rO collectionsr itertoolsrtypingrrrrr r;r extern.jaraco.textr extern.packaging.requirementsr r_Orderedr_ordered _StrOrIterr(rrrrr/r3rKr]r`rArrrjs #!66,7 T] D>     H H29#z/2JH 49d3S >* *+H S(;' '($4 429#x ?T:T2U4 49d3S >* *+4@7   HNr