Your IP : 216.73.216.213


Current Path : /opt/alt/python311/lib/python3.11/site-packages/wheel/cli/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib/python3.11/site-packages/wheel/cli/__pycache__/__init__.cpython-311.pyc

�

��a
��t�dZddlmZddlZddlZddlZd�ZGd�de��Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZdS)
z
Wheel command-line utility.
�)�print_functionNc�p�	ddl}dS#t$r#td�|�����wxYw)Nrz/'{0}' needs pkg_resources (part of setuptools).)�
pkg_resources�ImportError�RuntimeError�format)�namers  �E/opt/alt/python311/lib/python3.11/site-packages/wheel/cli/__init__.py�require_pkgresourcesrsW��[���������[�[�[��L�S�S�TX�Y�Y�Z�Z�Z�[���s��-5c��eZdZdS)�
WheelErrorN)�__name__�
__module__�__qualname__��r
r
r
s�������Drr
c�>�ddlm}||j|j��dS)N�)�unpack)r�	wheelfile�dest)�argsrs  r
�unpack_frs0��������
�F�4�>�4�9�%�%�%�%�%rc�J�ddlm}||j|j|j��dS)Nr)�pack)r�	directory�dest_dir�build_number)rrs  r
�pack_frs5���������D������(9�:�:�:�:�:rc�J�ddlm}||j|j|j��dS)Nr)�convert)r!�filesr�verbose)rr!s  r
�	convert_fr$!s4�� � � � � � ��G�D�J��
�t�|�4�4�4�4�4rc�6�ddlm}td|z��dS)N�)�__version__zwheel %s)�r'�print)rr's  r
�	version_fr*&s-��������	�*�{�
"�#�#�#�#�#rc���tj�����d���}|�dd���}|�dddd�	��|�d
d���|�t���|�d
d���}|�dd���|�ddtjj	d���|�dd���|�t���|�dd���}|�ddd���|�ddtjj	d���|�ddd� ��|�t���|�d!d"���}|�t���|�d#d$���}|��fd%�����S)&N�commands)�helprzUnpack wheelz--destz-dzDestination directory�.)r-�defaultrz
Wheel file)�funcrzRepack wheelrz$Root directory of the unpacked wheelz
--dest-dirz2Directory to store the wheel (default %(default)s))r/r-z--build-numberz"Build tag to use in the wheel namer!zConvert egg or wininst to wheelr"�*zFiles to convert)�nargsr-z/Directory to store wheels (default %(default)s)z	--verbosez-v�
store_true)�action�versionzPrint version and exitr-zShow this helpc�,������S)N)�
print_help)r�ps �r
�<lambda>zparser.<locals>.<lambda>Gs���q�|�|�~�~�r)
�argparse�ArgumentParser�add_subparsers�
add_parser�add_argument�set_defaultsr�os�path�curdirrr$r*)�s�
unpack_parser�
repack_parser�convert_parser�version_parser�help_parserr8s      @r
�parserrI+s�����!�!�A�	���j��)�)�A��L�L���L�?�?�M����x��4K�'*��,�,�,����{���>�>�>����H��-�-�-��L�L��n�L�=�=�M����{�1W��X�X�X����|�T�2�7�>�$X��Z�Z�Z����/�6Z��[�[�[����F��+�+�+��\�\�)�2S�\�T�T�N�����s�9K��L�L�L�����d�B�G�N�%V� �X�X�X�����T�,��G�G�G����Y��/�/�/��\�\�)�2J�\�K�K�N����Y��/�/�/��,�,�v�,<�,�=�=�K����"=�"=�"=�"=��>�>�>��Hrc�(�t��}|���}t|d��s|���nJ	|�|��dS#t
$r%}t
|tj���Yd}~nd}~wwxYwdS)Nr0r)�filer)	rI�
parse_args�hasattrr7r0r
r)�sys�stderr)r8r�es   r
�mainrQLs������A��<�<�>�>�D��4�� � �&�	�������	&��I�I�d�O�O�O��1���	&�	&�	&��!�#�*�%�%�%�%�%�%�%�%�%�����	&����
�1s�	A � 
B�*B
�
B)�__doc__�
__future__rr:r@rNr�	Exceptionr
rrr$r*rIrQrrr
�<module>rUs�����&�%�%�%�%�%�����	�	�	�	�
�
�
�
�[�[�[�	�	�	�	�	��	�	�	�&�&�&�
;�;�;�
5�5�5�
$�$�$�

�
�
�B
�
�
�
�
r