+
    i                    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   "e/Users/ahmad/.openclaw/workspace/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"			Xz	2	2Ibjj)FGHI 
3	2	2	2 '! 	**,I4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    %''GY''-/''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       # )zGet 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25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      # )zGet 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      # )zGet 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3E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   