a
    (b                     @   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 | P}|jd}tj||}td|dd tj	
  || W d   n1 s^0    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   Zparsed_filenamegroupospathjoinprintformatsysstdoutflush
extractall)r   destZwfr   destination r   `/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/wheel/cli/unpack.pyunpack	   s    	

(r   )r   )
__future__r   os.pathr   r   Z	wheelfiler   r   r   r   r   r   <module>   s   