Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/setuptools/__pycache__/
[FILE] archive_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_meta.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] depends.cpython-310.pyc [ edit | delete | rename ]
[FILE] dep_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist.cpython-310.pyc [ edit | delete | rename ]
[FILE] errors.cpython-310.pyc [ edit | delete | rename ]
[FILE] extension.cpython-310.pyc [ edit | delete | rename ]
[FILE] glob.cpython-310.pyc [ edit | delete | rename ]
[FILE] installer.cpython-310.pyc [ edit | delete | rename ]
[FILE] launch.cpython-310.pyc [ edit | delete | rename ]
[FILE] monkey.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvc.cpython-310.pyc [ edit | delete | rename ]
[FILE] namespaces.cpython-310.pyc [ edit | delete | rename ]
[FILE] package_index.cpython-310.pyc [ edit | delete | rename ]
[FILE] py34compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] sandbox.cpython-310.pyc [ edit | delete | rename ]
[FILE] unicode_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] version.cpython-310.pyc [ edit | delete | rename ]
[FILE] wheel.cpython-310.pyc [ edit | delete | rename ]
[FILE] windows_support.cpython-310.pyc [ edit | delete | rename ]
[FILE] _deprecation_warning.cpython-310.pyc [ edit | delete | rename ]
[FILE] _imp.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/setuptools/__pycache__/wheel.cpython-310.pyc
o
�_�a` � @ s� d Z ddlmZ ddlmZ ddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddlm
Z
ddlmZ ddlmZ ddlmZ e �d e j�jZd
Zdd� ZG d
d� d�ZdS )zWheels support.� )�get_platform)�logN)�
parse_version)�sys_tags)�canonicalize_name)�write_requirementsz�^(?P<project_name>.+?)-(?P<version>\d.*?)
((-(?P<build>\d.*?))?-(?P<py_version>.+?)-(?P<abi>.+?)-(?P<platform>.+?)
)\.whl$z8__import__('pkg_resources').declare_namespace(__name__)
c C s� t �| �D ]Q\}}}t j�|| �}|D ]}t j�||�}t j�|||�}t �||� qttt|���D ]"\} }
t j�||
�}t j�|||
�}t j� |�sUt �||� || = q3qt j| dd�D ]\}}}|rgJ �t �
|� q^dS )zDMove everything under `src_dir` to `dst_dir`, and delete the former.T)�topdownN)�os�walk�path�relpath�join�renames�reversed�list� enumerate�exists�rmdir)�src_dir�dst_dir�dirpath�dirnames� filenames�subdir�f�src�dst�n�d� r �2/usr/lib/python3/dist-packages/setuptools/wheel.py�unpack s$ �� �r! c @ sh e Zd Zdd� Zdd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Z e
dd� �Ze
dd� �Ze
dd� �Z
dS )�Wheelc C sP t tj�|��}|d u rtd| ��|| _|�� �� D ]
\}}t| ||� qd S )Nzinvalid wheel name: %r) �
WHEEL_NAMEr r �basename�
ValueError�filename� groupdict�items�setattr)�selfr&