Edit file File name : wheel.cpython-36.pyc Content :3 �Pf~ � @ s$ d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlZddlmZ ddlmZmZ dd lmZmZm Z dd l!m"Z"m#Z# ddlm$Z$ ddl%m&Z&m'Z'm(Z(m)Z)m*Z* dd l+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddl7m8Z8 dZ9d9Z:ej;e<�Z=G dd� de>�Z?dd� Z@dd� ZAd;dd�ZBd d!� ZCd"d#� ZDejEd$ejF�ZGd%d&� ZHd'd(� ZId<d+d,�ZJd-d.� ZKeKd/d0� �ZLd1d2� ZMd3d4� ZNG d5d6� d6e>�ZOG d7d8� d8e>�ZPdS )=zH Support for installing and building the "wheel" binary package format. � )�absolute_importN)�urlsafe_b64encode)�Parser)�StringIO)� expanduser)�path_to_url� unpack_url)�InstallationError�InvalidWheelFilename�UnsupportedWheel)�distutils_scheme�PIP_DELETE_MARKER_FILENAME)� pep425tags)�call_subprocess� ensure_dir�captured_stdout�rmtree�read_chunks)�open_spinner)� indent_log)�SETUPTOOLS_SHIM)�ScriptMaker)� pkg_resources)�canonicalize_name)�configparserz.whl� c @ s e Zd ZdZdd� Zdd� ZdS )� WheelCachez&A cache of wheels for future installs.c C s |rt |�nd| _|| _dS )z�Create a wheel cache. :param cache_dir: The root of the cache. :param format_control: A pip.index.FormatControl object to limit binaries being read from the cache. N)r � _cache_dir�_format_control)�self� cache_dir�format_control� r"