+
    ª¬‚jÀ  ã                  ó6  € ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIHtHtH	t	H
t
 ^ RIHt ^ RIHt ^RIHtHtHtHtHt ]'       d   ^ RIHt . ROtR R	 ltR
 R lt ! R R]	4      t]P6                  R R l4       tR R ltR R ltR R ltR R lt R R lt!R# )é    )ÚannotationsN)ÚTYPE_CHECKINGÚLiteralÚProtocolÚcast)Ú
deprecated)Ú	strtobool)ÚBaseDistributionÚBaseEnvironmentÚFilesystemWheelÚMemoryWheelÚWheel)ÚNormalizedNamec               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚbool© )Úformats   "Ú\/Users/cheyod/AIGC/DSH/.venv/lib/python3.14/site-packages/pip/_internal/metadata/__init__.pyÚ__annotate__r      s   € ÷ Rñ R¨ñ Ró    c                 ó‚  € \         P                  R8¼  d   R# \        P                  ! \        \
        4      ;_uu_ 4        \        \        \        P                  R,          4      4      uuRRR4       #   + '       g   i     M; i\         P                  R8  d   R# ^ RI
p \        \        T P                  RR4      4      # )a¿  Whether to use the ``importlib.metadata`` or ``pkg_resources`` backend.

By default, pip uses ``importlib.metadata`` on Python 3.11+, and
``pkg_resources`` otherwise. Up to Python 3.13, This can be
overridden by a couple of ways:

* If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it
  dictates whether ``importlib.metadata`` is used, for Python <3.14.
* On Python 3.11, 3.12 and 3.13, Python distributors can patch
  ``importlib.metadata`` to add a global constant
  ``_PIP_USE_IMPORTLIB_METADATA = False``. This makes pip use
  ``pkg_resources`` (unless the user set the aforementioned environment
  variable to *True*).

On Python 3.14+, the ``pkg_resources`` backend cannot be used.
TÚ_PIP_USE_IMPORTLIB_METADATANF)é   é   ©r   é   )ÚsysÚversion_infoÚ
contextlibÚsuppressÚKeyErrorÚ
ValueErrorr   r	   ÚosÚenvironÚimportlib.metadataÚgetattrÚmetadata©Ú	importlibs    r   Ú_should_use_importlib_metadatar,      s�   € ô" ×Ñ˜7Ô"áÜ	×	Ò	œX¤z×	2Õ	2ä”IœbŸj™jÐ)FÕGÓHÓI÷ 
3×	2×	2Ò	2úô ×Ñ˜'Ô!ñ ãä”˜	×*Ñ*Ð,IÈ4ÓPÓQÐQs   ¿)A3Á3B	c               ó   € V ^8„  d   QhRR/# )r   r   ÚNoner   )r   s   "r   r   r   ?   s   € ÷ ñ °4ñ r   c                 ó–   € \         P                  R8  d   R# ^ RIp \        V P                  R4      '       d   R# \        RRRRR7       R# )	r   Nr   z7Using the pkg_resources metadata backend is deprecated.zpto use the default importlib.metadata backend, by unsetting the _PIP_USE_IMPORTLIB_METADATA environment variablez26.3i4  )ÚreasonÚreplacementÚgone_inÚissuer   )r   r    r'   Úhasattrr)   r   r*   s    r   Ú)_emit_pkg_resources_deprecation_if_neededr5   ?   sL   € Ü
×Ñ˜'Ô!ñ 	ãäˆy×!Ñ!Ð#@×AÒAñ 	ô ØHðPð Ø÷r   c                  ó6   € ] tR t^Xt$ R]R&   R]R&   R]R&   RtR# )	ÚBackendz%Literal['importlib', 'pkg_resources']ÚNAMEztype[BaseDistribution]ÚDistributionztype[BaseEnvironment]ÚEnvironmentr   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__annotations__Ú__static_attributes__r   r   r   r7   r7   X   s   ‡ Ø
/Ó/Ø(Ó(Ø&×&r   r7   c               ó   € V ^8„  d   QhRR/# )r   r   r7   r   )r   s   "r   r   r   _   s   € ÷ 
(ñ 
(˜ñ 
(r   c                 óŽ   € \        4       '       d   ^RIHp  \        \        V 4      # \        4        ^RIHp \        \        V4      # )é   r*   )Úpkg_resources)r,   Ú r+   r   r7   r5   rD   )r+   rD   s     r   Úselect_backendrF   ^   s1   € ä%×'Ò'Ýä”G˜YÓ'Ð'ä-Ô/åä”˜Ó'Ð'r   c               ó   € V ^8„  d   QhRR/# )r   r   r   r   )r   s   "r   r   r   l   s   € ÷ 2ñ 2 ñ 2r   c                 óF   € \        4       P                  P                  4       # )zøGet the default representation for the current environment.

This returns an Environment instance from the chosen backend. The default
Environment instance should be built from ``sys.path`` and may use caching
to share instance state across calls.
)rF   r:   Údefaultr   r   r   Úget_default_environmentrJ   l   s   € ô Ó×'Ñ'×/Ñ/Ó1Ð1r   c               ó    € V ^8„  d   QhRRRR/# )r   Úpathszlist[str] | Noner   r   r   )r   s   "r   r   r   v   s   € ÷ :ñ :Ð+ð :°ñ :r   c                óH   € \        4       P                  P                  V 4      # )a  Get a representation of the environment specified by ``paths``.

This returns an Environment instance from the chosen backend based on the
given import paths. The backend must build a fresh instance representing
the state of installed distributions when this function is called.
)rF   r:   Ú
from_paths)rL   s   &r   Úget_environmentrO   v   s   € ô Ó×'Ñ'×2Ñ2°5Ó9Ð9r   c               ó    € V ^8„  d   QhRRRR/# )r   Ú	directoryÚstrr   r
   r   )r   s   "r   r   r   €   s   € ÷ Cñ C¨#ð CÐ2Bñ Cr   c                óH   € \        4       P                  P                  V 4      # )z¼Get the distribution metadata representation in the specified directory.

This returns a Distribution instance from the chosen backend based on
the given on-disk ``.dist-info`` directory.
)rF   r9   Úfrom_directory)rQ   s   &r   Úget_directory_distributionrU   €   s   € ô Ó×(Ñ(×7Ñ7¸	ÓBÐBr   c               ó$   € V ^8„  d   QhRRRRRR/# )r   Úwheelr   Úcanonical_namer   r   r
   r   )r   s   "r   r   r   ‰   s)   € ÷ 
Kñ 
KØð
KØ"0ð
Kàñ
Kr   c                óH   € \        4       P                  P                  W4      # )zþGet the representation of the specified wheel's distribution metadata.

This returns a Distribution instance from the chosen backend based on
the given wheel's ``.dist-info`` directory.

:param canonical_name: Normalized project name of the given wheel.
)rF   r9   Ú
from_wheel)rW   rX   s   &&r   Úget_wheel_distributionr[   ‰   s   € ô Ó×(Ñ(×3Ñ3°EÓJÐJr   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Úmetadata_contentsÚbytesÚfilenamerR   rX   r   r
   r   )r   s   "r   r   r   –   s0   € ÷ ñ Øðàðð ðð ñ	r   c                óL   € \        4       P                  P                  V VV4      # )a¯  Get the dist representation of the specified METADATA file contents.

This returns a Distribution instance from the chosen backend sourced from the data
in `metadata_contents`.

:param metadata_contents: Contents of a METADATA file within a dist, or one served
                          via PEP 658.
:param filename: Filename for the dist this metadata represents.
:param canonical_name: Normalized project name of the given dist.
)rF   r9   Úfrom_metadata_file_contents)r]   r_   rX   s   &&&r   Úget_metadata_distributionrb   –   s)   € ô Ó×(Ñ(×DÑDØØØóð r   )	r
   r   r   r   r   rJ   rO   r[   rF   )"Ú
__future__r   r!   Ú	functoolsr%   r   Útypingr   r   r   r   Úpip._internal.utils.deprecationr   Úpip._internal.utils.miscr	   Úbaser
   r   r   r   r   Úpip._vendor.packaging.utilsr   Ú__all__r,   r5   r7   ÚcacherF   rJ   rO   rU   r[   rb   r   r   r   Ú<module>rl      s~   ðÝ "ã Û Û 	Û 
ß 9Ó 9å 6Ý .ç XÕ XçÝ:ò
€õRõBô2'ˆhô 'ð ‡�ô
(ó ð
(õ2õ:õCõ
K÷r   