3
;p_                 @   s6   d dl mZ d dlZd dlZddlmZ dddZdS )	    )print_functionN   )	WheelFile.c             C   s`   t | F}|jjd}tjj||}tdj|dd tj	j
  |j| W dQ R X td dS )zUnpack 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).
    nameverzUnpacking to: {}... )endNOK)r   Zparsed_filenamegroupospathjoinprintformatsysstdoutflush
extractall)r   destZwfr   Zdestination r   3/tmp/pip-install-ofl94hr3/wheel/wheel/cli/unpack.pyunpack	   s    	

r   )r   )
__future__r   os.pathr   r   Z	wheelfiler   r   r   r   r   r   <module>   s   