Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/setuptools/__pycache__/ |
Upload File : |
a �D�f` � @ 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 ]�\}}}t j�|| �}|D ].}t j�||�}t j�|||�}t �||� q&ttt|���D ]D\} } t j�|| �}t j�||| �}t j� |�sft �||� || = qfq t j| dd�D ]\}}}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)Zsrc_dirZdst_dir�dirpath�dirnames� filenames�subdir�f�src�dst�n�d� r �4/usr/lib/python3.9/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 r$td| ��|| _|�� �� D ]\}}t| ||� q6d S )Nzinvalid wheel name: %r) � WHEEL_NAMEr r �basename� ValueError�filename� groupdict�items�setattr)�selfr$ �match�k�vr r r �__init__6 s zWheel.__init__c C s&