ok
Direktori : /lib/python3.6/site-packages/setuptools/__pycache__/ |
Current File : //lib/python3.6/site-packages/setuptools/__pycache__/wheel.cpython-36.pyc |
3 9��fb � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m Z mZmZ ddl mZ ddlmZ ddlm Z ddlmZ dd lmZ ejd ej�jZdZdd � ZG dd� de�ZdS )zWheels support.� )�get_platformN)�Distribution�PathMetadata� parse_version)�canonicalize_name)�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)Zsrc_dirZdst_dir�dirpathZdirnames� filenames�subdir�f�src�dst�n�d� r �/usr/lib/python3.6/wheel.py�unpack! s r! c @ s<