a
    b3j                     @  s<   d dl mZ d dlmZ ddlmZ dddddd	d
ZdS )    )annotations)Path   )	WheelFile.strNone)pathdestreturnc                 C  s   t | r}|jd}t|| }td| dddd |jD ],}t|||}|jd? d@ }|| q>W d	   n1 s0    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: z... T)endflush   i  NOK)	r   Zparsed_filenamegroupr   printfilelistextractexternal_attrchmod)r	   r
   Zwfr   destinationzinfotarget_pathZpermissions r   s/www/wwwroot/dpstar/app/297b3aabda72fedb274352021c2dd8b5_venv/lib/python3.9/site-packages/wheel/_commands/unpack.pyunpack   s    	

*r   N)r   )
__future__r   pathlibr   Z	wheelfiler   r   r   r   r   r   <module>   s   