HOME


Mini Shell 1.0
DIR: /snap/certbot/current/lib64/python3.12/site-packages/wheel/cli/__pycache__/
Upload File :
Current File : //snap/certbot/current/lib64/python3.12/site-packages/wheel/cli/__pycache__/unpack.cpython-312.pyc
�

�M�g���2�ddlmZddlmZddlmZddd�Zy)	�)�annotations)�Path�)�	WheelFilec��t|�5}|jjd�}t|�|z}t	d|�d�dd��|j
D]P}|j
||�|jdz	dz}|j|j�j|��R	d	d	d	�t	d
�y	#1swY�xYw)z�Unpack a wheel.

    Wheel content will be unpacked to {dest}/{name}-{ver}, where {name}
    is the package name and {ver} its version.

    :param path: The path to the wheel.
    :param dest: Destination directory (default to current directory).
    �nameverzUnpacking to: z...�T)�end�flush�i�N�OK)r�parsed_filename�groupr�print�filelist�extract�
external_attr�joinpath�filename�chmod)�path�dest�wfr�destination�zinfo�permissionss       ��/build/snapcraft-certbot-2c33630aaf29c47357e5a1683f659d3d/parts/certbot/install/lib/python3.12/site-packages/wheel/cli/unpack.py�unpackrs���
�4��D�B��$�$�*�*�9�5���4�j�7�*��
��{�m�3�/�R�t�D��[�[�	D�E��J�J�u�k�*�
 �-�-��3�e�;�K�� � ����0�6�6�{�C�	D�	D�
�$�K�D�D�s�BB<�<CN)�.)r�strrr �return�None)�
__future__r�pathlibr�	wheelfilerr��r�<module>r(s��"��!�r'