Sindbad~EG File Manager
�
�f���R�dZddlZddlmZddlmZddlmZGd�de��ZdS)zudistutils.command.install_scripts
Implements the Distutils 'install_scripts' command, for installing
Python scripts.�N)�Command)�log)�ST_MODEc�@�eZdZdZgd�ZddgZd�Zd�Zd�Zd�Z d �Z
d
S)�install_scriptsz%install scripts (Python or otherwise)))zinstall-dir=�dzdirectory to install scripts to)z
build-dir=�bz'build directory (where to install from))�force�fz-force installation (overwrite existing files))�
skip-buildNzskip the build stepsr
rc�>�d|_d|_d|_d|_dS)Nr)�install_dirr
� build_dir�
skip_build��selfs �H/opt/alt/python311/lib64/python3.11/distutils/command/install_scripts.py�initialize_optionsz"install_scripts.initialize_optionss#�������
���������c�b�|�dd��|�dddd��dS)N�build)�
build_scriptsr�install)rr)r
r
)rr)�set_undefined_optionsrs r�finalize_optionsz install_scripts.finalize_options!sF���"�"�7�,J�K�K�K��"�"�9�#E�#5�#?� $� $� $� $� $rc��|js|�d��|�|j|j��|_tjdkr�|���D]q}|j rtjd|���t
j|��tdzdz}tjd||��t
j||���pdSdS)Nr�posixzchanging mode of %simi�zchanging mode of %s to %o)r�run_command� copy_treerr�outfiles�os�name�get_outputs�dry_runr�info�statr�chmod)r�file�modes r�runzinstall_scripts.run)s����� .����_�-�-�-����t�~�t�7G�H�H��
�
�7�g����(�(�*�*�
)�
)���<�)��H�2�D�9�9�9�9��W�T�]�]�7�3�u�<��F�D��H�8�$��E�E�E��H�T�4�(�(�(�(���
)�
)rc��|jjpgS�N)�distribution�scriptsrs r�
get_inputszinstall_scripts.get_inputs8s��� �(�.�B�.rc��|jpgSr,)r rs rr#zinstall_scripts.get_outputs;s���}�"��"rN)�__name__�
__module__�__qualname__�description�user_options�boolean_optionsrrr*r/r#�rrrrs�������9�K����L���-�O����$�$�$�
)�
)�
)�/�/�/�#�#�#�#�#rr) �__doc__r!�distutils.corer� distutilsrr&rrr7rr�<module>r;s�����
� � � �"�"�"�"�"�"�������������.#�.#�.#�.#�.#�g�.#�.#�.#�.#�.#r
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists