| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/laragon/bin/python/python-3.10/Lib/site-packages/setuptools/__pycache__/ |
Upload File : |
o
wco � @ s� d Z ddlmZ ddlmZ ddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddlm
Z
ddlmZ ddlmZ ddlmZ dd lmZ e �d
e j�jZdZdd
� ZG dd� d�ZdS )zWheels support.� )�get_platform)�logN)�
parse_version)�sys_tags)�canonicalize_name)�write_requirements)�_unpack_zipfile_objz�^(?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_dirZdst_dir�dirpath�dirnames� filenames�subdir�f�src�dst�n�d� r �6C:\python3.10-64\Lib\site-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&