MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: //lib/python3.12/site-packages/setuptools/command/__pycache__/dist_info.cpython-312.opt-1.pyc
�

SSh�
��~�dZddlZddlZddlZddlmZddlmZddlm	Z	ddl
mZddlm
Z
Gd	�d
e	�Zd�Zd�Zy)
zD
Create a dist_info directory
As defined in the wheel specification
�N)�contextmanager)�log)�Command)�Path�)�_normalizationc�X�eZdZdZdZgd�ZddgZddiZd�Zd�Z	e
d	ed
efd��Z
d�Zy
)�	dist_infoz�
    This command is private and reserved for internal use of setuptools,
    users should rely on ``setuptools.build_meta`` APIs.
    z@DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory))zoutput-dir=�ozYdirectory inside of which the .dist-info will becreated (default: top of the source tree))�tag-date�dz0Add date stamp (e.g. 20050528) to version number)z
tag-build=�bz-Specify explicit tag to add to version number)�no-date�Dz"Don't include date stamp [default])�
keep-egg-infoNz,*TRANSITIONAL* will be removed in the futurerrrc�X�d|_d|_d|_d|_d|_d|_y)NF)�
output_dir�name�
dist_info_dir�tag_date�	tag_build�
keep_egg_info)�selfs �A/usr/lib/python3.12/site-packages/setuptools/command/dist_info.py�initialize_optionszdist_info.initialize_options)s.�������	�!�����
����"���c���|j}|jxstj}t	|j
xs|�|_|j
d�}t|j
�|_|jr|j|_	n|j|_	|jr|j|_
n|j|_
|j�||_tj|j��}tj |j#��}|�d|��|_tj&j)|j
|j$�d��|_y)N�egg_info�-z
.dist-info)�distribution�src_root�os�curdirrr�reinitialize_command�str�egg_baserr�finalize_optionsrr�
safer_name�get_name�safer_best_effort_version�get_versionr�path�joinr)r�dist�project_dirrr�versions      rr'zdist_info.finalize_options1s��� � ���m�m�0�r�y�y���t���=�+�>����,�,�Z�8������0����=�=� $�
�
�H��$�-�-�D�M��>�>�!%���H��%�/�/�D�N��!�!�#� ��
��(�(�����9�� �:�:�4�;K�;K�;M�N���f�A�g�Y�'��	��W�W�\�\�$�/�/�d�i�i�[�
�;S�T��r�dir_path�requires_bkpc#�K�|rJ|�d�}t|d��t||dd��	d��t|d��tj||�yd��y#t|d��tj||�wxYw�w)Nz.__bkp__T)�
ignore_errors)�
dirs_exist_ok�symlinks)�_rm�_copy�shutil�move)rr1r2�bkp_names    r�_maybe_bkp_dirzdist_info._maybe_bkp_dirKsk�����"��8�,�H����-��(�H�D�4�H�
0���H�D�1����H�h�/����H�D�1����H�h�/�s�$A<�A�)A<�%A9�9A<c���|jjdd��|jj�|jj}t	j
dj
tjj|j���|jd�}|j||j�5|j||j�ddd�y#1swYyxYw)NT)�parents�exist_okz
creating '{}'�bdist_wheel)r�mkdirr�runr�info�formatr"r,�abspathr�get_finalized_commandr<r�egg2dist)r�egg_info_dirr@s   rrBz
dist_info.runYs��������d�T��:��
�
�����}�}�-�-��	����'�'�������8J�8J�(K�L�M��0�0��?���
 �
 ��t�/A�/A�
B�� � ��t�/A�/A�B�C�
B�
B�s�C,�,C5N)�__name__�
__module__�__qualname__�__doc__�description�user_options�boolean_options�negative_optrr'rr%�boolr<rB�rrr
r
s_���
U�K��L�"�?�3�O��z�*�L�#�U�4��s��$����Crr
c�p�tjj|�rtj|fi|��yy)N)r"r,�isdirr9�rmtree)�dir_name�optss  rr7r7gs(��	�w�w�}�}�X���
�
�h�'�$�'�rc�|�tjdkr|jdd�tj||fi|��y)N)��r5)�sys�version_info�popr9�copytree)�src�dstrWs   rr8r8ls1��
���&� �����$�'�
�O�O�C��%��%r)rLr"r9r[�
contextlibr�	distutilsr�distutils.corer�pathlibr�rr
r7r8rRrr�<module>rfs?���

�
�
�%��"���SC��SC�l(�
&r