| Current Path : /snap/certbot/5528/lib/python3.12/site-packages/wheel/_commands/__pycache__/ |
| Current File : //snap/certbot/5528/lib/python3.12/site-packages/wheel/_commands/__pycache__/unpack.cpython-312.pyc |
�
`I�i� � �2 � d dl mZ d dlmZ ddlmZ ddd�Zy) � )�annotations)�Path� )� WheelFilec �p � t | � 5 }|j j d� }t |� |z }t d|� d�dd�� |j
D ]@ }t |j
||� � }|j dz dz }|j |� �B d d d � t d
� y # 1 sw Y �xY w)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�chmod)�path�dest�wfr �destination�zinfo�target_path�permissionss ��/build/snapcraft-certbot-53a6961353a63169611ae8a78f6bfa4f/parts/certbot/install/lib/python3.12/site-packages/wheel/_commands/unpack.py�unpackr s� � �
�4�� +�B��$�$�*�*�9�5���4�j�7�*��
��{�m�3�/�R�t�D��[�[� +�E��r�z�z�%��=�>�K�
�-�-��3�e�;�K����k�*� +� +�
�$�K�+� +�s �BB,�,B5N)�.)r �strr r �return�None)�
__future__r �pathlibr � wheelfiler r � � r �<module>r'