Hacked By AnonymousFox

Current Path : /opt/alt/python311/lib64/python3.11/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/distutils/command/__pycache__/bdist.cpython-311.opt-2.pyc

�

c��f���R�	ddlZddlmZddlTddlmZd�ZGd�de��ZdS)�N)�Command)�*)�get_platformc���	ddlm}g}tjD]3}|�d|zdtj|df���4||��}|�d��dS)Nr)�FancyGetopt�formats=�z'List of available distribution formats:)�distutils.fancy_getoptr�bdist�format_commands�append�format_command�
print_help)r�formats�format�pretty_printers    �>/opt/alt/python311/lib64/python3.11/distutils/command/bdist.py�show_formatsrs����2�2�2�2�2�2��G��'�:�:�����
�V�+�T��,�V�4�Q�7�9�	:�	:�	:�	:� �[��)�)�N����G�H�H�H�H�H�c��eZdZdZdddde��zfdddd	d
gZdgZdd
defgZdZ	ddd�Z
gd�Zdddddddd�Zd�Z
d�Zd�Zd
S)rz$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))rNz/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]rzhelp-formatsNz$lists available distribution formats)�	bdist_rpm�gztar�zip)�posix�nt)�rpmr�bztar�xztar�ztar�tarr)rzRPM distribution)�
bdist_dumbzgzip'ed tar file)r'zbzip2'ed tar file)r'zxz'ed tar file)r'zcompressed tar file)r'ztar file)r'zZIP filec�h�d|_d|_d|_d|_d|_d|_d|_dS)Nr)�
bdist_base�	plat_namer�dist_dir�
skip_build�group�owner)�selfs r�initialize_optionszbdist.initialize_optionsLs7�������������
������
���
�
�
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)r*r,r�get_finalized_commandr)�
build_base�os�path�join�ensure_string_listr�default_format�name�KeyError�DistutilsPlatformErrorr+)r/r5s  r�finalize_optionszbdist.finalize_optionsUs���>�!���
O�!-������!%�!;�!;�G�!D�!D�!N���
�?�"��3�3�G�<�<�G�J� �g�l�l�:�+3�d�n�+D�F�F�D�O�	
���	�*�*�*��<��
2� $� 3�B�G� <�=������
2�
2�
2�,�'�)+��1�2�2�2�
2����
�=� �"�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'r'r	)rr
rr<�DistutilsOptionError�range�len�reinitialize_command�no_format_optionrr.r-�	keep_temp�run_command)r/�commandsr�i�cmd_name�sub_cmds      r�runz	bdist.runqs0�����l�	K�	K�F�
K����� 3�F� ;�A� >�?�?�?�?���
K�
K�
K�*�+@�6�+I�J�J�J�
K�����s�4�<�(�(�)�)�	'�	'�A���{�H��/�/��9�9�G��t�4�4�4�!%��a�����<�'�'� $�
��
� $�
��
��8�A�a�C�D�D�>�)�)�$%��!����X�&�&�&�&�	'�	's	�&4�A)�__name__�
__module__�__qualname__�descriptionr�user_options�boolean_optionsr�help_optionsrDr:rrr0r>rK�rrrrs�������8�K�M�!�3�%�'3�|�~�~�6�7�H�(�K�1�2��L�($�n�O�
��	/��	?�
�L�&�� '�!�#�#�N�O�N�N�O� B�A�B�?�D�9�9�
��N����#�#�#�8'�'�'�'�'rr)r6�distutils.corer�distutils.errors�distutils.utilrrrrSrr�<module>rWs����

�	�	�	�"�"�"�"�"�"�����'�'�'�'�'�'�	I�	I�	I�r'�r'�r'�r'�r'�G�r'�r'�r'�r'�r'r

Hacked By AnonymousFox1.0, Coded By AnonymousFox