HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /lib/python3/dist-packages/setuptools/command/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/setuptools/command/__pycache__/install_scripts.cpython-311.pyc
�

���c4
���ddlmZddlmcmZddlmZddlZddl	Z	ddl
mZmZddl
mZGd�dej��ZdS)	�)�logN)�DistutilsModuleError)�Distribution�PathMetadata�)�ensure_directoryc�&�eZdZdZd�Zd�Zdd�ZdS)�install_scriptsz;Do normal script install, plus any egg_info wrapper scriptsc�R�tj�|��d|_dS)NF)�origr
�initialize_options�no_ep)�selfs �D/usr/lib/python3/dist-packages/setuptools/command/install_scripts.pyr
z"install_scripts.initialize_optionss$����/�/��5�5�5���
�
�
�c�X�ddlmcm}|�d��|jjr tj�|��ng|_	|j
rdS|�d��}t|j
t|j
|j��|j|j��}|�d��}t%|dd��}	|�d��}t%|dd��}n#t&t(f$rd}YnwxYw|j}|r	d}|j}|t.jkr|g}|���}|j����|��}	|�||	�����D]}
|j|
��
dS)	Nr�egg_info�
build_scripts�
executable�
bdist_wininst�_is_runningFz
python.exe)�setuptools.command.easy_install�command�easy_install�run_command�distribution�scriptsrr
�run�outfilesr�get_finalized_commandr�egg_baserr�egg_name�egg_version�getattr�ImportErrorr�ScriptWriter�WindowsScriptWriter�sysr�best�command_spec_class�
from_param�get_args�	as_header�write_script)r�ei�ei_cmd�dist�bs_cmd�
exec_param�bw_cmd�
is_wininst�writer�cmd�argss           rrzinstall_scripts.runs���4�4�4�4�4�4�4�4�4�����$�$�$���$�	�� �$�$�T�*�*�*�*��D�M��:�	��F��+�+�J�7�7����O�\�&�/�6�?�K�K��O�V�/�
�
���+�+�O�<�<���V�\�4�8�8�
�	��/�/��@�@�F� ����>�>�J�J���1�2�	�	�	��J�J�J�	��������	,�%�J��+�F����'�'�%��J��������'�,�,�.�.�9�9�*�E�E���O�O�D�#�-�-�/�/�:�:�	%�	%�D��D��t�$�$�$�	%�	%s�&C7�7D
�D
�tc��ddlm}m}tjd||j��tj�|j|��}|j	�
|��|��}|js\t|��t|d|z��}	|	�|��|	���||d|z
��dSdS)z1Write an executable file to the scripts directoryr)�chmod�
current_umaskzInstalling %s script to %s�wi�N)rr;r<r�info�install_dir�os�path�joinr�append�dry_runr�open�write�close)
r�script_name�contents�mode�ignoredr;r<�target�mask�fs
          rr.zinstall_scripts.write_script8s���H�H�H�H�H�H�H�H���-�{�D�<L�M�M�M�����d�.��<�<���
���V�$�$�$��}�����|�	(��V�$�$�$��V�S�4�Z�(�(�A�
�G�G�H����
�G�G�I�I�I��E�&�%�$�,�'�'�'�'�'�	(�	(rN)r9)�__name__�
__module__�__qualname__�__doc__r
rr.�rrr
r
sM������E�E����$%�$%�$%�L(�(�(�(�(�(rr
)�	distutilsr�!distutils.command.install_scriptsrr
r�distutils.errorsrr@r(�
pkg_resourcesrr�_pathrrSrr�<module>rYs���������0�0�0�0�0�0�0�0�0�1�1�1�1�1�1�	�	�	�	�
�
�
�
�4�4�4�4�4�4�4�4�$�$�$�$�$�$�;(�;(�;(�;(�;(�d�*�;(�;(�;(�;(�;(r