
    n&ph                     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                   f    \ rS rSr% Sr/ SQr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 stepsr   r   boolean_optionsc                 <    S U l         SU l        S U l        S U l        g )NF)install_dirr   	build_dir
skip_buildselfs    `/var/www/html/venv/lib/python3.13/site-packages/setuptools/_distutils/command/install_scripts.pyinitialize_options"install_scripts.initialize_options   s    
    Nc                 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  a  U R                  5        H}  nU R                  (       a  [        R                  " SU5        M-  [        R                  " U5      [           S-  S-  n[        R                  " SX5        [        R                  " X5        M     g g )Nr   posixzchanging mode of %sim  i  zchanging mode of %s to %o)r   run_command	copy_treer   r   outfilesosnameget_outputsdry_runr   infostatr   chmod)r   filemodes      r   runinstall_scripts.run+   s    _-t~~t7G7GH77g ((*<<HH2D9WWT]73u<FDHH8$EHHT( + r   c                 @    U R                   R                  =(       d    / $ N)distributionscriptsr   s    r   
get_inputsinstall_scripts.get_inputs:   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__descriptionuser_optionsr   r   liststr__annotations__r   r    r0   r6   r)   __static_attributes__ r   r   r	   r	      sA    9KL -4\+BOXd3i(B
)/#r   r	   )__doc__r'   distutils._logr   r,   r   typingr   corer   r	   rE   r   r   <module>rJ      s'    
    .#g .#r   