File: //usr/local/lib/python3.6/site-packages/wheel/cli/__pycache__/unpack.cpython-36.pyc
3
���h� � @ s6 d dl mZ d dlZd dlZddlmZ ddd�ZdS ) � )�print_functionN� )� WheelFile�.c C s` t | ��F}|jjd�}tjj||�}tdj|�dd� tj j
� |j|� W dQ R X 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 Zparsed_filename�group�os�path�join�print�format�sys�stdout�flush�
extractall)r �destZwfr �destination� r �:/usr/local/lib/python3.6/site-packages/wheel/cli/unpack.py�unpack s
r )r )�
__future__r �os.pathr r Z wheelfiler r r r r r �<module> s