+
    SBi!                    p    R t ^ RIHt ^ RIt^ RIt^ RIt^ RIHtH	t	 ^RI
Ht ^RIHt Rt ! R R]4      tR# )	zkdistutils.command.install_lib

Implements the Distutils 'install_lib' command
(install all Python modules).)annotationsN)AnyClassVar)Command)DistutilsOptionErrorz.pyc                      ] tR t^t$ Rt. ROt. ROtR]R&   RR/tR]R&   R	 t	R
 R lt
R R ltR R ltR R ltR R ltR tR tR tR tRtR# )install_libz7install all Python modules (extensions and pure Python)compile
no-compileNzClassVar[list[str]]boolean_optionszClassVar[dict[str, str]]negative_optc                	Z    R V n         R V n        RV n        R V n        R V n        R V n        R # )NF)install_dir	build_dirforcer	   optimize
skip_buildselfs   &N/usr/lib/python3.14/site-packages/setuptools/_distutils/command/install_lib.pyinitialize_optionsinstall_lib.initialize_options8   s-    
    c                   V ^8  d   QhRR/#    returnNone )formats   "r   __annotate__install_lib.__annotate__A   s     J J$ Jr   c           	     	\   V P                  R RRRRR	R
4       V P                  f   RV n        V P                  f   RV n        \        V P                  \        4      '       g:    \	        V P                  4      V n        V P                  R9  d   \        R4      hR# R#   \
         d     L-i ; i)installNTFzoptimize must be 0, 1, or 2)	build_libr   )r   r   )r   r   )r	   r	   )r   r   )r   r   )       r   )set_undefined_optionsr	   r   
isinstanceint
ValueErrorr   r   s   &r   finalize_optionsinstall_lib.finalize_optionsA   s     	""&*"$(	
 <<DL== !DM$---- #DMM 2 }}I-*+HII . .  s   #B B+*B+c                   V ^8  d   QhRR/# r   r   )r   s   "r   r    r!   \   s     ( (T (r   c                	    V P                  4        V P                  4       pVe6   V P                  P                  4       '       d   V P	                  V4       R # R # R # N)buildr#   distributionhas_pure_modulesbyte_compiler   outfiless   & r   runinstall_lib.run\   sK    


 <<> D$5$5$F$F$H$Hh' %Ir   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r    r!   l   s     . .t .r   c                	    V P                   '       gg   V P                  P                  4       '       d   V P                  R 4       V P                  P	                  4       '       d   V P                  R4       R# R# R# )build_py	build_extN)r   r1   r2   run_commandhas_ext_modulesr   s   &r   r0   install_lib.buildl   s[      1133  ,  0022  - 3 r   c                   V ^8  d   QhRR/# )r   r   zlist[str] | Anyr   )r   s   "r   r    r!   t   s       r   c                	    \         P                  P                  V P                  4      '       d)   V P	                  V P                  V P
                  4      pV# V P                  R V P                   R24       R# )'z0' does not exist -- no Python modules to installN)ospathisdirr   	copy_treer   warnr4   s   & r   r#   install_lib.installt   s_    77==((~~dnnd6F6FGH 	 IIDNN##ST r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r    r!   ~   s      T r   c           	     	   \         P                  '       d   V P                  R 4       R# ^RIHp V P                  R4      P                  pV P                  '       d"   V! V^ V P                  VV P                  R7       V P                  ^ 8  d9   V! VV P                  V P                  VV P                  V P                  R7       R# R# )z%byte-compiling is disabled, skipping.N)r3   r#   )r   r   prefixdry_run)r   r   rJ   verboserK   )sysdont_write_bytecoderF   utilr3   get_finalized_commandrootr	   r   rK   r   rL   )r   filesr3   install_roots   &&  r   r3   install_lib.byte_compile~   s    """II=>' 11)<AA<<<jj# ==1jj# r   c           	     	0   V'       g   . # V P                  V4      pVP                  4       p\        W#4      p\        V4      \        \        P
                  4      ,           pV Uu. uF%  p\        P                  P                  WHVR  4      NK'  	  p	pV	# u upi r/   )rP   get_outputsgetattrlenrB   seprC   join)
r   has_any	build_cmd
cmd_option
output_dirbuild_filesr   
prefix_lenfileoutputss
   &&&&&     r   _mutate_outputsinstall_lib._mutate_outputs   s{    I..y9	++-I2	^c"&&k1
KVW;4277<<
,=>;W Xs   $+Bc                	   . pV F  p\         P                  P                  \         P                  P                  V4      4      ^,          pV\        8w  d   KS  V P
                  '       d1   VP                  \        P                  P                  VRR7      4       V P                  ^ 8  g   K  VP                  \        P                  P                  W0P                  R7      4       K  	  V# )r&    )optimization)rB   rC   splitextnormcasePYTHON_SOURCE_EXTENSIONr	   append	importlibrO   cache_from_sourcer   )r   py_filenamesbytecode_filespy_fileexts   &&   r   _bytecode_filenamesinstall_lib._bytecode_filenames   s    #G ''""277#3#3G#<=a@C--|||%%NN44W24N }}q %%NN44mm 5  $$ r   c                D   V P                  V P                  P                  4       RRV P                  4      pV P                  '       d   V P                  V4      pM. pV P                  V P                  P                  4       RRV P                  4      pW,           V,           # )zReturn the list of files that would be installed if this command
were actually run.  Not affected by the "dry-run" flag or whether
modules have actually been built yet.
r:   r$   r;   )rc   r1   r2   r   r	   rr   r=   )r   pure_outputsbytecode_outputsext_outputss   &   r   rV   install_lib.get_outputs   s    
 ++..0	
 <<<#77E!**--/	
 .<<r   c                J   . pV P                   P                  4       '       d1   V P                  R4      pVP                  VP	                  4       4       V P                   P                  4       '       d1   V P                  R4      pVP                  VP	                  4       4       V# )zGet the list of files that are input to this command, ie. the
files that get installed as they are named in the build tree.
The files in this list correspond one-to-one to the output
filenames returned by 'get_outputs()'.
r:   r;   )r1   r2   rP   extendrV   r=   )r   inputsr:   r;   s   &   r   
get_inputsinstall_lib.get_inputs   s     --//11*=HMM(..01,,..22;?IMM)//12r   )r   r	   r   r   r   r   ))zinstall-dir=dzdirectory to install to)z
build-dir=bz'build directory (where to install from))r   fz-force installation (overwrite existing files))r	   czcompile .py to .pyc [default])r
   Nzdon't compile .py files)z	optimize=Ozlalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0])
skip-buildNzskip the build steps)r   r	   r   )__name__
__module____qualname____firstlineno__descriptionuser_optionsr   __annotations__r   r   r+   r6   r0   r#   r3   rc   rr   rV   r|   __static_attributes__r   r   r   r   r      s`    KK"L ,NO(M.:I-FL*FJ6( .B2=2r   r   )__doc__
__future__r   importlib.utilrl   rB   rM   typingr   r   corer   errorsr   rj   r   r   r   r   <module>r      s7   !
 #  	 
    )   Z' Zr   