
    nj                     V    S r SSKrSSKJr  SSKJr  SSKJr  SSKJ	r	   " S S	\	5      r
g)
zudistutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts.    N)log)ST_MODE)ClassVar   )Commandc                       \ rS rSr% Sr/ SQr\\\\	\	\	4      \\\	\	S-  \	4      -     \
S'   SS/r\\\	      \
S'   S	 rSS
 jrSS jrS rS rSrg)install_scripts   z%install scripts (Python or otherwise)))zinstall-dir=dzdirectory to install scripts to)z
build-dir=bz'build directory (where to install from))forcefz-force installation (overwrite existing files))
skip-buildNzskip the build stepsNuser_optionsr   r   boolean_optionsc                 <    S U l         SU l        S U l        S U l        g )NF)install_dirr   	build_dir
skip_buildselfs    i/var/www/html/pdf-tiff/venv/lib/python3.13/site-packages/setuptools/_distutils/command/install_scripts.pyinitialize_options"install_scripts.initialize_options   s    
    c                 P    U R                  SS5        U R                  SSSS5        g )Nbuild)build_scriptsr   install)r	   r   )r   r   )r   r   )set_undefined_optionsr   s    r   finalize_options install_scripts.finalize_options$   s-    ""7,JK"".(		
r   c                    U R                   (       d  U R                  S5        U R                  U R                  U R                  5      U l        [        R                  S:X  ah  U R                  5        HS  n[        R                  " U5      [           S-  S-  n[        R                  " SX5        [        R                  " X5        MU     g g )Nr   posixim  i  zchanging mode of %s to %o)r   run_command	copy_treer   r   outfilesosnameget_outputsstatr   r   infochmod)r   filemodes      r   runinstall_scripts.run-   s    _-t~~t7G7GH77g ((*w/58FB4dA$ + r   c                 @    U R                   R                  =(       d    / $ N)distributionscriptsr   s    r   
get_inputsinstall_scripts.get_inputs9   s      ((.B.r   c                 ,    U R                   =(       d    / $ r3   )r'   r   s    r   r*   install_scripts.get_outputs<   s    }}""r   )r   r   r   r'   r   )returnN)__name__
__module____qualname____firstlineno__descriptionr   r   listtuplestr__annotations__r   r   r!   r0   r6   r*   __static_attributes__ r   r   r	   r	      s}    9K	 (U3S=!"T%S4Z0D*E%FF  -4\+BOXd3i(B

%/#r   r	   )__doc__r(   distutils._logr   r+   r   typingr   corer   r	   rE   r   r   <module>rJ      s'    
    -#g -#r   