Ë
    ¨Õ°j­  ã                   óV   — d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z	  G d„ d	e	«      Z
y)
zudistutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts.é    N)Úlog)ÚST_MODE)ÚClassVaré   )ÚCommandc                   óš   — e Zd ZU dZg d¢Zeeeeeef      eeeedz  ef      z     e	d<   ddgZ
eee      e	d<   d„ Zdd	„Zdd
„Zd„ Zd„ Zy)Úinstall_scriptsz%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                 ó<   — d | _         d| _        d | _        d | _        y )NF)Úinstall_dirr   Ú	build_dirÚ
skip_build©Úselfs    úc/var/www/mission/venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_scripts.pyÚinitialize_optionsz"install_scripts.initialize_options   s   € ØˆÔØˆŒ
ØˆŒØˆ�ó    c                 óP   — | j                  dd«       | j                  dddd«       y )NÚbuild)Úbuild_scriptsr   Úinstall)r	   r   )r   r   )r   r   )Úset_undefined_optionsr   s    r   Úfinalize_optionsz install_scripts.finalize_options$   s-   € Ø×"Ñ" 7Ð,JÔKØ×"Ñ"ØØ.ØØ(õ		
r   c                 ó„  — | j                   s| j                  d«       | j                  | j                  | j                  «      | _        t        j                  dk(  re| j                  «       D ]Q  }t        j                  |«      t           dz  dz  }t        j                  d||«       t        j                  ||«       ŒS y y )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   Úrunzinstall_scripts.run-   s™   € Ø�ŠØ×Ñ˜_Ô-ØŸ™ t§~¡~°t×7GÑ7GÓHˆŒÜ�7‰7�gÒð ×(Ñ(Ó*ò %�ÜŸ™ ›¤wÑ/°5Ñ8¸FÑB�Ü—‘Ð4°d¸DÔAÜ—‘˜˜tÕ$ñ%ð r   c                 ó6   — | j                   j                  xs g S ©N)ÚdistributionÚscriptsr   s    r   Ú
get_inputszinstall_scripts.get_inputs9   s   € Ø× Ñ ×(Ñ(Ò.¨BÐ.r   c                 ó"   — | j                   xs g S r/   )r$   r   s    r   r'   zinstall_scripts.get_outputs<   s   € Ø�}‰}Ò" Ð"r   )ÚreturnN)Ú__name__Ú
__module__Ú__qualname__Údescriptionr   r   ÚlistÚtupleÚstrÚ__annotations__r   r   r   r-   r2   r'   © r   r   r	   r	      s}   … Ø9€Kò	ð �(ØˆU�3˜˜S�=Ñ!Ñ" T¨%°°S¸4±ZÀÐ0DÑ*EÑ%FÑFñó ð -4°\Ð+B€O�X˜d 3™iÑ(ÓBòó
ó
%ò/ó#r   r	   )Ú__doc__r%   Údistutils._logr   r(   r   Útypingr   Úcorer   r	   r=   r   r   ú<module>rB      s'   ðñó 
Ý Ý Ý å ô-#�gõ -#r   