ó
    µ'Ôi@!  ã                  ón   • S r SSKJr  SSKrSSKrSSKrSSKJrJ	r	  SSK
Jr  SSKJr  Sr " S	 S
\5      rg)zkdistutils.command.install_lib

Implements the Distutils 'install_lib' command
(install all Python modules).é    )ÚannotationsN)ÚAnyÚClassVaré   )ÚCommand)ÚDistutilsOptionErrorz.pyc                  ó–   • \ rS rSr% Sr/ SQr/ SQrS\S'   SS0rS	\S
'   S r	SS jr
SS jrSS jrSS jrSS jrS rS rS rS rSrg)Úinstall_libé   z7install all Python modules (extensions and pure Python)))zinstall-dir=Údzdirectory to install to)z
build-dir=Úbz'build directory (where to install from))ÚforceÚfz-force installation (overwrite existing files))ÚcompileÚczcompile .py to .pyc [default])ú
no-compileNz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   zClassVar[list[str]]Úboolean_optionsr   r   zClassVar[dict[str, str]]Únegative_optc                óX   • S U l         S U l        SU l        S U l        S U l        S U l        g )NF)Úinstall_dirÚ	build_dirr   r   ÚoptimizeÚ
skip_build©Úselfs    Úh/var/www/surfInsights/venv3-11/lib/python3.13/site-packages/setuptools/_distutils/command/install_lib.pyÚinitialize_optionsÚinstall_lib.initialize_options8   s-   € àˆÔØˆŒØˆŒ
ØˆŒØˆŒØˆ�ó    c           	     óN  • U R                  SSSSSSS5        U R                  c  SU l        U R                  c  S	U l        [        U R                  [        5      (       d7   [	        U R                  5      U l        U R                  S
;  a  [        S5      eg g ! [
         a     N)f = f)NÚinstall)Ú	build_libr   )r
   r   )r   r   )r   r   )r   r   )r   r   TF)r   é   r   zoptimize must be 0, 1, or 2)Úset_undefined_optionsr   r   Ú
isinstanceÚintÚ
ValueErrorr   r   s    r   Úfinalize_optionsÚinstall_lib.finalize_optionsA   s©   € ð 	×"Ñ"ØØ&Ø*ØØ"Ø$Ø(ô	
ð �<‰<ÑØˆDŒLØ�=‰=Ñ Ø!ˆDŒMä˜$Ÿ-™-¬×-Ñ-ðÜ # D§M¡MÓ 2�”ð �}‰} IÓ-Ü*Ð+HÓIÐIð .ð .øô ó Ùðús   Á B Â
B$Â#B$c                ó®   • U R                  5         U R                  5       nUb2  U R                  R                  5       (       a  U R	                  U5        g g g ©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                óê   • U R                   (       db  U R                  R                  5       (       a  U R                  S5        U R                  R	                  5       (       a  U R                  S5        g g g )NÚbuild_pyÚ	build_ext)r   r/   r0   Úrun_commandÚhas_ext_modulesr   s    r   r.   Úinstall_lib.buildl   sY   € Ø��Ø× Ñ ×1Ñ1×3Ñ3Ø× Ñ  Ô,Ø× Ñ ×0Ñ0×2Ñ2Ø× Ñ  Õ-ð 3ð r!   c                óî   • [         R                  R                  U R                  5      (       a(  U R	                  U R                  U R
                  5      nU$ U R                  SU R                   S35        g )NÚ'z0' does not exist -- no Python modules to install)ÚosÚpathÚisdirr   Ú	copy_treer   Úwarnr2   s     r   r#   Úinstall_lib.installt   s_   € Ü�7‰7�=‰=˜Ÿ™×(Ñ(Ø—~‘~ d§n¡n°d×6FÑ6FÓGˆHð ˆð	 �I‰IØ�D—N‘NÐ#Ð#SÐTôð r!   c                óN  • [         R                  (       a  U R                  S5        g SSKJn  U R                  S5      R                  nU R                  (       a  U" USU R                  US9  U R                  S:”  a)  U" UU R                  U R                  UU R                  S9  g g )Nz%byte-compiling is disabled, skipping.r   )r1   r#   r   )r   r   Úprefix)r   r   rE   Úverbose)ÚsysÚdont_write_bytecoderB   Úutilr1   Úget_finalized_commandÚrootr   r   r   rF   )r   Úfilesr1   Úinstall_roots       r   r1   Úinstall_lib.byte_compile~   s‹   € Ü×"×"Ø�I‰IÐ=Ô>Øå'ð ×1Ñ1°)Ó<×AÑAˆà�<�<ÙØØØ—j‘jØ#ò	ð �=‰=˜1ÓÙØØŸ™Ø—j‘jØ#ØŸ™óð r!   c           	     ó(  • U(       d  / $ U R                  U5      nUR                  5       n[        X#5      n[        U5      [        [        R
                  5      -   nU Vs/ s H%  n[        R                  R                  XHUS  5      PM'     n	nU	$ s  snf r-   )rJ   Úget_outputsÚgetattrÚlenr>   Úsepr?   Ú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Ê;À4”2—7‘7—<‘< 
°°Ð,=Ö>É;ˆÐWàˆùò Xs   Á,Bc                ó¾  • / nU HÔ  n[         R                  R                  [         R                  R                  U5      5      S   nU[        :w  a  MN  U R
                  (       a-  UR                  [        R                  R                  USS95        U R                  S:”  d  Mž  UR                  [        R                  R                  X0R                  S95        MÖ     U$ )Nr%   Ú )Úoptimizationr   )r>   r?   ÚsplitextÚnormcaseÚPYTHON_SOURCE_EXTENSIONr   ÚappendÚ	importlibrI   Úcache_from_sourcer   )r   Úpy_filenamesÚbytecode_filesÚpy_fileÚexts        r   Ú_bytecode_filenamesÚinstall_lib._bytecode_filenamesª   sµ   € ØˆÛ#ˆGô —'‘'×"Ñ"¤2§7¡7×#3Ñ#3°GÓ#<Ó=¸aÑ@ˆCØÔ-Ó-ÙØ�|�|Ø×%Ñ%Ü—N‘N×4Ñ4°WÈ2Ð4ÐNôð �}‰}˜qÕ Ø×%Ñ%Ü—N‘N×4Ñ4Ø¯m©mð 5ð öñ $ð$ Ðr!   c                ó2  • U R                  U R                  R                  5       SSU R                  5      nU R                  (       a  U R                  U5      nO/ nU R                  U R                  R                  5       SSU R                  5      nX-   U-   $ )z©Return 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.
r7   r$   r8   )r]   r/   r0   r   r   rl   r:   )r   Úpure_outputsÚbytecode_outputsÚext_outputss       r   rP   Úinstall_lib.get_outputsÃ   s–   € ð
 ×+Ñ+Ø×Ñ×.Ñ.Ó0ØØØ×Ñó	
ˆð �<�<Ø#×7Ñ7¸ÓEÑà!Ðà×*Ñ*Ø×Ñ×-Ñ-Ó/ØØØ×Ñó	
ˆð Ñ.°Ñ<Ð<r!   c                óF  • / nU R                   R                  5       (       a0  U R                  S5      nUR                  UR	                  5       5        U R                   R                  5       (       a0  U R                  S5      nUR                  UR	                  5       5        U$ )zÞGet 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()'.
r7   r8   )r/   r0   rJ   ÚextendrP   r:   )r   Úinputsr7   r8   s       r   Ú
get_inputsÚinstall_lib.get_inputsÜ   s‚   € ð ˆà×Ñ×-Ñ-×/Ñ/Ø×1Ñ1°*Ó=ˆHØ�M‰M˜(×.Ñ.Ó0Ô1à×Ñ×,Ñ,×.Ñ.Ø×2Ñ2°;Ó?ˆIØ�M‰M˜)×/Ñ/Ó1Ô2àˆr!   )r   r   r   r   r   r   N)ÚreturnÚNone)rx   zlist[str] | Any)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚdescriptionÚuser_optionsr   Ú__annotations__r   r   r*   r4   r.   r#   r1   r]   rl   rP   rv   Ú__static_attributes__© r!   r   r
   r
      s_   ‡ ØK€Kò"€Lò ,N€OÐ(ÓMØ.:¸IÐ-F€LÐ*ÓFòôJô6(ô .ôôò>òò2=õ2r!   r
   )Ú__doc__Ú
__future__r   Úimportlib.utilrf   r>   rG   Útypingr   r   Úcorer   Úerrorsr   rd   r
   r‚   r!   r   Ú<module>r‰      s7   ðñ!õ
 #ã Û 	Û 
ß  å Ý )ð  Ð ôX�'õ Xr!   