HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/lib/python3.11/distutils/command/__pycache__/
Upload File :
Current File : //proc/self/root/usr/lib/python3.11/distutils/command/__pycache__/install_egg_info.cpython-311.pyc
�

ZQd�
��l�dZddlmZddlmZmZddlZddlZddlZGd�de��Z	d�Z
d�Zd	�ZdS)
z�distutils.command.install_egg_info

Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata.�)�Command)�log�dir_utilNc�6�eZdZdZdZddgZd�Zd�Zd�Zd�Z	d	S)
�install_egg_infoz)Install an .egg-info file for the packagez8Install package's PKG-INFO metadata as an .egg-info file)zinstall-dir=�dzdirectory to install to)zinstall-layoutNzcustom installation layoutc�0�d|_d|_d|_dS�N)�install_dir�install_layout�
prefix_option��selfs �9/usr/lib/python3.11/distutils/command/install_egg_info.py�initialize_optionsz#install_egg_info.initialize_optionss �����"���!�����c��|�dd��|�dd��|�dd��|jrH|j���dvrtd���|j���dk}n|jrd	}nd
}|rktt
|j��������dtt|j�
�������d�}n~d
tt
|j�������tt|j�
������gtjdd��Rz}tj�|j|��|_|jg|_dS)N�install_lib)rr�install)rr)r
r
)�deb�unixz"unknown value for --install-layoutrFT�-z	.egg-infoz%s-%s-py%d.%d.egg-info�)�set_undefined_optionsr�lower�DistutilsOptionErrorr
�to_filename�	safe_name�distribution�get_name�safe_version�get_version�sys�version_info�os�path�joinr�target�outputs)r�no_pyver�basenames   r�finalize_optionsz!install_egg_info.finalize_optionss����"�"�=�1N�O�O�O��"�"�9�-P�Q�Q�Q��"�"�9�-N�O�O�O���	��&�,�,�.�.�/�A�A�*�8�:�:�:��+�1�1�3�3�u�<�H�H�
�
�	��H�H��H��
	��I�d�&7�&@�&@�&B�&B�C�C�D�D�D�D��L��):�)F�)F�)H�)H�I�I�J�J�J�J��H�H�
0��I�d�&7�&@�&@�&B�&B�C�C�D�D��L��):�)F�)F�)H�)H�I�I�J�J�3��!�"�1�"�%�3�3��H�
�g�l�l�4�#3�X�>�>�����}����rc���|j}tj�|��r;tj�|��stj||j���n�tj�|��r+|�	tj
|jfd|z��nStj�|j��s/|�	tj|jfd|jz��tjd|��|jsLt|dd���5}|jj�|��ddd��dS#1swxYwYdSdS)N)�dry_runz	Removing z	Creating z
Writing %s�wzUTF-8)�encoding)r(r%r&�isdir�islinkr�remove_treer.�exists�execute�unlinkr�makedirsr�info�openr�metadata�write_pkg_file)rr(�fs   r�runzinstall_egg_info.run4s������
�7�=�=�� � �	7������)?�)?�	7�� ����>�>�>�>�>�
�W�^�^�F�
#�
#�	7��L�L���D�K�>�+�f�2D�E�E�E�E�����t�/�0�0�	7��L�L���t�'7�&9�$�T�%5�5�
7�
7�
7����v�&�&�&��|�	=��f�c�G�4�4�4�
=���!�*�9�9�!�<�<�<�
=�
=�
=�
=�
=�
=�
=�
=�
=�
=�
=�
=����
=�
=�
=�
=�
=�
=�	=�	=s�- E�E�!Ec��|jSr
)r)rs r�get_outputszinstall_egg_info.get_outputsBs
���|�rN)
�__name__�
__module__�__qualname__�__doc__�description�user_optionsrr,r=r?�rrrrsh������3�3�L�K�8�>��L�
"�"�"�
%�%�%�6=�=�=�����rrc�.�tjdd|��S)z�Convert an arbitrary string to a standard distribution name

    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    �[^A-Za-z0-9.]+r)�re�sub��names rrrJs��
�6�"�C��.�.�.rc�Z�|�dd��}tjdd|��S)z�Convert an arbitrary string to a standard version string

    Spaces become dots, and all other non-alphanumeric characters become
    dashes, with runs of multiple dashes condensed to a single dash.
    � �.rHr)�replacerIrJ)�versions rr!r!Rs,���o�o�c�#�&�&�G�
�6�"�C��1�1�1rc�.�|�dd��S)z|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    r�_)rPrKs rrr\s��
�<�<��C� � � r)
rC�
distutils.cmdr�	distutilsrrr%r#rIrrr!rrFrr�<module>rVs���"�"�"�!�!�!�!�!�#�#�#�#�#�#�#�#�������������8�8�8�8�8�w�8�8�8�~/�/�/�2�2�2�!�!�!�!�!r