+
    3jT                         R t ^ RIt^ RIt^ RIt^ RIHu Ht ^ RI	Hu H
t ^ RI	HtHtHt ^ RIHt  ! R R]P                  4      t ! R R]P                  4      t
R tR	 tR
 tR tR t]! 4        R# )a  
Apply Debian-specific patches to distutils commands.

Extracts the customized behavior from patches as reported
in pypa/distutils#2 and applies those customizations (except
for scheme definitions) to those commands.

Place this module somewhere in sys.path to take effect.
N)to_filename	safe_namesafe_version)DistutilsOptionErrorc                      a a ] tR t^t o]! ]P                  P                  4      R.,           tV 3R ltV 3R lt	V 3R lt
RtVtV ;t# )installc                @   < \         SV `  4        R V n        R V n        R # Nsuperinitialize_optionsprefix_optioninstall_layoutself	__class__s   &,/usr/lib/python3.14/_distutils_system_mod.pyr   install.initialize_options       "$!"    c                6  < VR 8X  Ed   V P                   '       dP   V P                   P                  4       R9   d   RpMV P                   P                  4       R9   d   R pM\        R4      hV P                  '       d/   \        P
                  P                  V P                  4      R8w  g   \        4       '       d   R pML\        P
                  P                  V P                  4      R8X  d   R;V n        V n	        R;V n
        V n        Rp\        SV `5  V4       R# )	posix_prefix
deb_system"unknown value for --install-layout
/usr/local/usrposix_localN)deb)unix)r   lowerr   r   ospathnormpathprefixis_virtual_environmentexec_prefixinstall_baseinstall_platbaser   select_scheme)r   namer   s   &&r   r(   install.select_scheme$   s    >!"""&&,,.'9'D((..0H<)D.<> >%%%77##DKK0L@+--%77##DKK0L@5;;DK$"2@FFD%(=$d#r   c                F   < V P                   V n        \        SV `  4        R # r	   )r#   r   r   finalize_unixr   s   &r   r,   install.finalize_unix9   s    ![[r   )r%   r&   r   r'   r#   r   )zinstall-layout=Nz7installation layout to choose (known values: deb, unix))__name__
__module____qualname____firstlineno__listorig_installr   user_optionsr   r(   r,   __static_attributes____classdictcell____classcell__r   __classdict__s   @@r   r   r      s?     ,,99:	D> L
#
$*   r   r   c                      a a ] tR t^>t o]! ]P                  P                  4      R.,           tV 3R ltV 3R lt	]
R 4       tRtVtV ;t# )install_egg_infoc                @   < \         SV `  4        R V n        R V n        R # r	   r
   r   s   &r   r   #install_egg_info.initialize_optionsC   r   r   c                l   < V P                  R R4       V P                  R R4       \        SV `	  4        R# )r   N)r   r   )r   r   )set_undefined_optionsr   finalize_optionsr   s   &r   r@   !install_egg_info.finalize_optionsH   s0    ""9-PQ""9-NO "r   c                   V P                   '       dI   V P                   P                  4       R9   g   \        R4      hV P                   P                  4       R 8H  pMV P                  '       d   RpMRpV'       da   \	        \        V P                  P                  4       4      4      : R\	        \        V P                  P                  4       4      4      : R2pV# R\	        \        V P                  P                  4       4      4      \	        \        V P                  P                  4       4      4      .\        P                  R,          O5,          pV# )	r   r   FT-z	.egg-infoz%s-%s-py%d.%d.egg-info:N   N)r   r   )r   r   r   r   r   r   distributionget_namer   get_versionsysversion_info)r   no_pyverbasenames   &  r   rK   install_egg_info.basenameM   s   &&,,./A*8: :++113u<HHHId&7&7&@&@&BCDL):):)F)F)HIJH  0Id&7&7&@&@&BCDL):):)F)F)HIJ3 !!"%3 H
 r   )r   r   )zinstall-layoutNzcustom installation layout)r.   r/   r0   r1   r2   orig_install_egg_infor;   r4   r   r@   propertyrK   r5   r6   r7   r8   s   @@r   r;   r;   >   sM     ->>KKL>P L#
#
   r   r;   c                  t    \         P                  \         P                  8g  ;'       g    \        \         R 4      # )real_prefix)rH   base_prefixr#   hasattr r   r   r$   r$   f   s$    ??cjj(GGGC,GGr   c                 ,   V'       * ;'       g#    \         P                  P                  V4      R9   pV '       d   V# V'       d3   \        4       '       g#   \         P                  P	                  VRRR4      # \         P                  P	                  VR4      # )r   libpython3zdist-packageszsite-packages)r   r   )r    r!   r"   r$   join)standard_lib	libpythonearly_prefixr#   is_default_prefixs   &&&& r   
_posix_libr\   j   sk    ((ddBGG,<,<\,JNd,d	#9#;#;ww||FE9oFFww||I77r   c                    RV9  dT   V R8X  d   VR,          pM\         P                  R,          R,          pV R8X  d   RV9  d   VP                  RR4      pW!R&   V# )a.  
Given a scheme name and the resolved scheme,
if the scheme does not include headers, resolve
the fallback scheme for the name and use headers
from it. pypa/distutils#88

headers: module headers install location (posix_local is /local/ prefixed)
include: cpython headers (Python.h)
See also: bpo-44445
headersr   includer   z/local/z	/include/z/local/include/)r3   INSTALL_SCHEMESreplace)r)   schemer^   s   && r   _inject_headersrc   t   s`     >!Y'G"22>B9MG= Yg%=ook3DEG#yMr   c                   a  V 3R lpV# )z
Implement the _inject_headers modification, above, but before
_inject_headers() was introduced, upstream. So, slower and messier.
c                  ^   < S! 4       p V P                  4        F  w  r\        W4       K  	  V # r	   )itemsrc   )schemesr)   rb   _load_schemess      r   wrapped_load_schemes2load_schemes_wrapper.<locals>.wrapped_load_schemes   s)    /#MMOLDD) ,r   rS   )rh   ri   s   f r   load_schemes_wrapperrk      s    

  r   c                  6   \         \        n         \        \        n        \        \
        P                  n        \        \        R 4      '       d   \        \        n        R# \        \        R4      '       d%   \        \        P                  4      \        n
        R# R# )rc   rh   N)r   r3   r;   rM   r\   	distutils	sysconfigrR   rc   rk   rh   rS   r   r   apply_customizationsro      s\    "L-=*%/I"|.//'6$		/	/%9,:T:T%U" 
0r   )__doc__r    rH   distutils.sysconfigrm   distutils.command.installcommandr   r3   "distutils.command.install_egg_infor;   rM   r   r   r   distutils.errorsr   r$   r\   rc   rk   ro   rS   r   r   <module>rv      sz    
 
  0 0 B B 
 2" l"" " J%,== %PH8,
 
V  r   