+
     hu  c                   s    ^ RI t ^ RIt^ RIHt ^RIHt ^RIHt R tR t	R t
]P                  3R R	 llt]P                  3R
 R llt ! R R]4      tR# )i    N)RawConfigParser)py39)SetuptoolsDeprecationWarningc                 s    \        V \        4      '       d   \        P                  ! R V 4      #  V P	                  R4      p \        P                  ! R V 4      p V P                  R4      p V #   \         d     T # i ; i)ZNFDutf-8)
isinstancestrunicodedataZ	normalizedecodeencodeZUnicodeError)paths   &=/usr/lib/python3.14/site-packages/setuptools/unicode_utils.py	decomposer   
   su    $$$UD11{{7#$$UD1{{7# K  Ks   9A* *A98A9c                s    \        V \        4      '       d   V # \        P                  ! 4       ;'       g    RpVR3pV F  p V P	                  V4      u # 	  R#   \
         d     K)  i ; i)zQ
Ensure that the given path is decoded,
``None`` when no expected encoding works
r   N)r   r   sysZgetfilesystemencodingr   UnicodeDecodeError)r	   Zfs_encZ
candidatesencs   &   r
   filesys_decoder      sl     $&&(33GFJ	;;s##   " 		s   AA('A(c                sJ     V P                  V4      #   \         d     R# i ; i)z/turn unicode encoding into a functional routineN)r   ZUnicodeEncodeError)Zstringr   s   &&r
   
try_encoder   +   s(    }}S!! s    ""c                s0    V ^8  d   QhR\         R\         /# )   filereturn)r   Zformat   "r
   __annotate__r   3   s      3 SV     c                sh    \        V RRR7      ;_uu_ 4       pVP                  4       uuRRR4       #   + '       g   i     R# ; i  \         d`    \        P	                  YR7       \        T RTR7      ;_uu_ 4       pTP                  4       uuRRR4       u #   + '       g   i      R# ; ii ; i)z
First try to read the file with UTF-8, if there is an error fallback to a
different encoding ("locale" by default). Returns the content of the file.
Also useful when reading files that might have been produced by an older version of
setuptools.
Zrr   ZencodingNr   fallback_encoding)Zopenreadr   _Utf8EncodingNeededemit)r   r   Zfs   && r
   _read_utf8_with_fallbackr   3   sy    $g..!668 /...   d P$&788A668 9888sB   A 3
A A	A A 7B1>BB1B-&B1-B1c                s4    V ^8  d   QhR\         R\        RR/# )r   cfgr   r   N)r    r   r   r   r
   r   r   C   s$     3 3	3 #3	3r   c                s     V P                  VRR7       R#   \         d=    \        P                  YR7       T P	                  4        T P                  YR7        R# i ; i)zSame idea as :func:`_read_utf8_with_fallback`, but for the
:meth:`RawConfigParser.read` method.

This method may call ``cfg.clear()``.
r   r   r   N)r   r   r   r   Zclear)r   r   r   s   &&&r
   _cfg_read_utf8_with_fallbackr    C   sN    3( 3  d P		23s    AAAc                   s    ] tR t^StRtRtRtR# )r   zZ
    `encoding="utf-8"` fails with {file!r}, trying `encoding={fallback_encoding!r}`.
    a  
    Fallback behavior for UTF-8 is considered **deprecated** and future versions of
    `setuptools` may not implement it.

    Please encode {file!r} with "utf-8" to ensure future builds will succeed.

    If this file was produced by `setuptools` itself, cleaning up the cached files
    and re-building/re-installing the package with a newer version of `setuptools`
    (e.g. by updating `build-system.requires` in its `pyproject.toml`)
    might solve the problem.
     N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z_SUMMARYZ_DETAILSZ__static_attributes__r!   r   r
   r   r   S   s    H
Hr   r   )r   r   Zconfigparserr    Zcompatr   Zwarningsr   r   r   r   ZLOCALE_ENCODINGr   r    r   r!   r   r
   <module>r"      sP    
  (  2	* ;?:N:N " 8<7K7K3 6 r   