OwlCyberSecurity - MANAGER
Edit File: unpack.cpython-38.pyc
U �-^� � @ s6 d dl mZ d dlZd dlZddlmZ ddd�ZdS ) � )�print_functionN� )� WheelFile�.c C s` t | ��F}|j�d�}tj�||�}td�|�dd� tj � � |�|� W 5 Q 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: {}...� )�endZOKN)r Zparsed_filename�group�os�path�join�print�format�sys�stdout�flushZ extractall)r �destZwfr Zdestination� r �2/usr/lib/python3/dist-packages/wheel/cli/unpack.py�unpack s r )r )Z __future__r �os.pathr r Z wheelfiler r r r r r �<module> s