| Current Path : /lib/python3/dist-packages/wheel/cli/__pycache__/ |
| Current File : //lib/python3/dist-packages/wheel/cli/__pycache__/unpack.cpython-311.pyc |
�
�lc� � �4 � d dl mZ d dlmZ ddlmZ d
dd�ZdS )� )�annotations)�Path� )� WheelFile�.�path�str�dest�return�Nonec � � t | � � 5 }|j � d� � }t |� � |z }t d|� d�dd�� � |� |� � ddd� � n# 1 swxY w Y t d� � dS ) 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�flushN�OK)r �parsed_filename�groupr �print�
extractall)r r
�wfr �destinations �2/usr/lib/python3/dist-packages/wheel/cli/unpack.py�unpackr s� � �
�4��� #�B��$�*�*�9�5�5���4�j�j�7�*��
�/�{�/�/�/�R�t�D�D�D�D�
�
�
�k�"�"�"� #� #� #� #� #� #� #� #� #� #� #���� #� #� #� #�
�$�K�K�K�K�Ks �AA4�4A8�;A8N)r )r r r
r r r )�
__future__r �pathlibr � wheelfiler r � � r �<module>r s^ �� "� "� "� "� "� "� � � � � � � !� !� !� !� !� !�� � � � � � r