%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/setuptools/command/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/setuptools/command/__pycache__/dist_info.cpython-312.pyc

�


_�d����dZddlZddlZddlZddlmZddlmZddlm	Z	ddl
mZddlm
Z
dd	lmZGd
�de	�Zd�Zd
�Zy)zD
Create a dist_info directory
As defined in the wheel specification
�N)�contextmanager)�log)�Command)�Path�)�_normalization)�SetuptoolsDeprecationWarningc�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))z	egg-base=�ezjdirectory containing .egg-info directories (default: top of the source tree) DEPRECATED: use --output-dir.)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 futurerrrc�f�d|_d|_d|_d|_d|_d|_d|_y)NF)�egg_base�
output_dir�name�
dist_info_dir�tag_date�	tag_build�
keep_egg_info)�selfs �>/usr/lib/python3/dist-packages/setuptools/command/dist_info.py�initialize_optionszdist_info.initialize_options1s5����
������	�!�����
����"���c�x�|jr8d}tj|d��|jxs|j|_|j}|j
xstj}t|jxs|�|_|jd�}t|j�|_|jr|j|_n|j|_|jr|j|_n|j|_|j�||_tj |j#��}tj$|j'��}|�d|��|_tj*j-|j|j(�d��|_y)NzA--egg-base is deprecated for dist_info command. Use --output-dir.)i��	�)�due_date�egg_info�-z
.dist-info)rr	�emitr�distribution�src_root�os�curdirr�reinitialize_command�strrr�finalize_optionsr$r�
safer_name�get_name�safer_best_effort_version�get_versionr�path�joinr)r�msg�dist�project_dirr$r�versions       rr-zdist_info.finalize_options:sA���=�=�U�C�(�-�-�c�M�J�#�m�m�>�t���D�O�� � ���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)rr8r9�bkp_names    r�_maybe_bkp_dirzdist_info._maybe_bkp_dir[sk�����"��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}tj
j
|�sJd��tjdjtj
j|j���|jd�}|j||j�5|j||j�ddd�y#1swYyxYw)NT)�parents�exist_okz&.egg-info dir should have been createdz
creating '{}'�bdist_wheel)r�mkdirr$�runr)r2�isdirr�info�format�abspathr�get_finalized_commandrCr�egg2dist)r�egg_info_dirrGs   rrIz
dist_info.runis��������d�T��:��
�
�����}�}�-�-���w�w�}�}�\�*�T�,T�T�*�����'�'�������8J�8J�(K�L�M��0�0��?���
 �
 ��t�/A�/A�
B�	C�� � ��t�/A�/A�B�	C�	C�	C�s�,D�DN)�__name__�
__module__�__qualname__�__doc__�description�user_options�boolean_options�negative_optrr-rr,�boolrCrI�rrrrs`���
U�K��L�("�?�3�O��z�*�L�#�U�B��s��$����Crrc�p�tjj|�rtj|fi|��yy)N)r)r2rJr@�rmtree)�dir_name�optss  rr>r>ws(��	�w�w�}�}�X���
�
�h�'�$�'�rc�|�tjdkr|jdd�tj||fi|��y)N)��r<)�sys�version_info�popr@�copytree)�src�dstr^s   rr?r?|s1��
���&� �����$�'�
�O�O�C��%��%r)rTr)r@rb�
contextlibr�	distutilsr�distutils.corer�pathlibr�r�warningsr	rr>r?rZrr�<module>rnsB���

�
�
�%��"���3�bC��bC�J(�
&r

Zerion Mini Shell 1.0