.@^VddlZddlZddlZddlmZddlmZddlmZddl m Z ddl m Z ddl mZd Zd Zd Zd e jfd ZejdZeedZeedded e jfdZdZdS)N) pass_none) yield_lines)consume)metadata) ensure_unique) OptionErrorct |jdS#ttf$r}d|d}t||d}~wwxYw)z Exercise one of the dynamic properties to trigger the pattern match. This function is deprecated in favor of importlib_metadata 8.7 and Python 3.14 importlib.metadata, which validates entry points on construction. zProblems to parse zq. Please ensure entry-point follows the spec: https://packaging.python.org/en/latest/specifications/entry-points/N)extrasAttributeErrorAssertionErrorr )epexmsgs j/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/setuptools/_entry_points.py ensure_validrsg' N +''' R R R R #B& 's 727ct|}d|dd|z}tj|S)zf Given a value of an entry point or series of entry points, return each as an EntryPoint. []  )rjoinr EntryPoints _from_text)valuegrouplinestexts r load_groupr"sF   E u>>>DIIe,, ,D   * *4 0 00c|j|jfSN)rname)rs rby_group_and_namer#-s 8RW repsc rtttt|t|S)zM Ensure entry points are unique by group and name and validate each. key)rmaprrr#r$s rvalidater*1s/ C mC5FGGG H HIII Jrctjd|D}t t j|S)zA Given a Distribution.entry_points, produce EntryPoints. c3<K|]\}}t||VdSr!)r).0rrs r zload..>sA++%1UE 5%  ++++++r) itertoolschain from_iterableitemsr*rr)r$groupss rloadr49sZ _ * *++58YY[[+++F H(00 1 11rc~ttjtj|S)z >>> ep, = load('[console_scripts]\nfoo=bar') >>> ep.group 'console_scripts' >>> ep.name 'foo' >>> ep.value 'bar' )r*rrrr)s r_r6Ds. H()=)H)H)M)MNN O OOrc|Sr!)xs rr:RsArctjd}tjt |||}dd|DS)Nrr&rc3HK|]\}}d|dt|dVdS)rrrN) render_items)r-rr2s rr.zrender..ZsBVV|ue:::<#6#6:::VVVVVVr)operator attrgetterr/groupbysortedr)r$by_groupr3s rrenderrCUsR"7++H  vcx888( C CF 99VVvVVV V VVrcZddt|DS)Nrc38K|]}|jd|jVdS)z = N)r"r)r-rs rr.zrender_items..^s4EE2..BH..EEEEEEr)rrAr)s rr=r=]s) 99EEEEE E EEr) functoolsr/r>jaraco.functoolsr jaraco.textrmore_itertoolsr _importlibr _itertoolsrerrorsr rrr#rr*singledispatchr4registerstrr6typerCr=r8rrrQs&&&&&&######"""""" %%%%%%'''(111(& 222s P P P dd4jj++&&& W$WWW WFFFFFr