Your IP : 13.59.35.116
3
K�ReA � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlm Z m
Z
mZ ddlm
Z
ddlm Z ddlmZ ddlmZ ejd ej�jZd
Zdd� ZG d
d� de�ZdS )zWheels support.� )�get_platformN)�Distribution�PathMetadata�
parse_version)�PY3)r )�
pep425tags)�write_requirementsz�^(?P<project_name>.+?)-(?P<version>\d.*?)
((-(?P<build>\d.*?))?-(?P<py_version>.+?)-(?P<abi>.+?)-(?P<platform>.+?)
)\.whl$z�try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
c C s� x�t j| �D ]�\}}}t jj|| �}x6|D ].}t jj||�}t jj|||�}t j||� q*W xXttt|���D ]D\} }
t jj||
�}t jj|||
�}t jj |�snt j||� || = qnW qW x0t j| dd�D ]\}}}| s�t
�t j|� q�W 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�AssertionError�rmdir)�src_dirZdst_dir�dirpath�dirnames� filenames�subdir�f�src�dst�n�d� r ��/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/wheel.py�unpack s
r"