File: //usr/lib/python3/dist-packages/wheel/cli/__pycache__/unpack.cpython-310.pyc
o
c�a� � @ s6 d dl mZ d dlZd dlZddlmZ ddd�ZdS ) � )�print_functionN� )� WheelFile�.c C st t | ��(}|j�d�}tj�||�}td�|�dd� tj �
� |�|� W d � n1 s/w Y td� 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: {}...� )�endN�OK)r �parsed_filename�group�os�path�join�print�format�sys�stdout�flush�
extractall)r
�dest�wfr �destination� r �2/usr/lib/python3/dist-packages/wheel/cli/unpack.py�unpack s
�r )r )�
__future__r �os.pathr r � wheelfiler r r r r r �<module> s