o
    ca                     @   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   st   t | (}|jd}tj||}td|dd tj	
  || W d   n1 s/w   Y  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   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
    