
    ЦiU                     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    l/var/www/html/ai-image-ml/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  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_inputs7   s      ((.B.r   c                 ,    U R                   =(       d    / $ r2   )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    r/   r5   r)   __static_attributes__ r   r   r	   r	      sA    9KL -4\+BOXd3i(B

%/#r   r	   )__doc__r'   distutils._logr   r*   r   typingr   corer   r	   rD   r   r   <module>rI      s'    
    +#g +#r   