관리-도구
편집 파일: index.cpython-36.pyc
3 �PfW� � @ s d Z ddlmZ ddlZddlZddlmZ ddlZddlZddl Z ddl Z ddlZddlZddl Z ddlmZ ddlmZ ddlmZ ddlmZmZmZmZmZ dd lmZ dd lmZ ddlm Z ddl!m"Z"m#Z#m$Z$m%Z% dd l&m'Z'm(Z(m)Z)m*Z* ddl+m,Z,m-Z- ddl.m/Z/ ddl0m1Z1m2Z2m3Z3 ddl4mZ5 ddl6m7Z7 ddl8m9Z9 ddl:m;Z; ddl<m=Z= dddgZ>d3d4d5d6d7d8gZ?ej@eA�ZBG dd � d eC�ZDG d!d� deC�ZEe jFd"e jG�fd#d$�ZHG d%d&� d&eC�ZIG d'd(� d(eC�ZJedd)�ZKd*d� ZLd+d,� ZMd-d.� ZNd/d0� ZOed1d2�ZPdS )9z!Routines related to PyPI, indexes� )�absolute_importN)� namedtuple)�parse)�request)� ipaddress)�cached_property�splitext�normalize_path�ARCHIVE_EXTENSIONS�SUPPORTED_EXTENSIONS)�RemovedInPip10Warning)� indent_log)�check_requires_python)�DistributionNotFound�BestVersionAlreadyInstalled�InvalidWheelFilename�UnsupportedWheel)�HAS_TLS�is_url�path_to_url�url_to_path)�Wheel� wheel_ext)� get_supported)�html5lib�requests�six)�canonicalize_name)� specifiers)�SSLError)�unescape� FormatControl�fmt_ctl_handle_mutual_exclude� PackageFinder�https�*� localhost�127.0.0.0/8�::1/128�file�sshc @ s\ e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� ZdS )�InstallationCandidatec C s, || _ t|�| _|| _| j | j| jf| _d S )N)�project� parse_version�version�location�_key)�selfr, r. r/ � r2 �/usr/lib/python3.6/index.py�__init__>