관리-도구
편집 파일: package_index.cpython-38.opt-1.pyc
U �Qab�� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZ ddlm Z ddlmZmZmZmZ ddlZddlmZmZmZmZmZmZmZmZmZmZmZm Z m!Z! ddlm"Z" ddl#m$Z$ dd l%m&Z& dd l'm(Z( ddl)m*Z* ddl+m,Z, dd l-m.Z. e/Z0e�1d�Z2e�1dej3�Z4e�1d�Z5e�1dej3�j6Z7d�8� Z9ddddgZ:dZ;dZ<e<j=dj=ej>� ed�Z?dd� Z@dd� ZAdd� ZBdGd d�ZCdHd!d"�ZDdId#d$�ZEdedfd%d�ZFdJd&d'�ZGd(d)� ZHe�1d*ej3�ZIeHd+d,� �ZJG d-d.� d.�ZKG d/d0� d0eK�ZLG d1d� de�ZMe�1d2�jNZOd3d4� ZPd5d6� ZQdKd7d8�ZRd9d:� ZSG d;d<� d<�ZTG d=d>� d>ejU�ZVejWjXfd?d@�ZYdAdB� ZZeRe;�eY�ZYdCdD� Z[dEdF� Z\dS )Lz#PyPI and direct package downloading� N��wraps)�six)�urllib�http_client�configparser�map) � CHECKOUT_DIST�Distribution�BINARY_DIST�normalize_path�SOURCE_DIST�Environment�find_distributions� safe_name�safe_version�to_filename�Requirement�DEVELOP_DIST�EGG_DIST)�ssl_support)�log)�DistutilsError)� translate)�get_all_headers)�unescape)�Wheelz^egg=([-A-Za-z0-9_.+!]+)$zhref\s*=\s*['"]?([^'"> ]+)z�<a href="([^"#]+)">([^<]+)</a>\n\s+\(<a (?:title="MD5 hash"\n\s+)href="[^?]+\?:action=show_md5&digest=([0-9a-f]{32})">md5</a>\)z([-+.a-z0-9]{2,}):z.tar.gz .tar.bz2 .tar .zip .tgz�PackageIndex�distros_for_url�parse_bdist_wininst�interpret_distro_name� z<setuptools/{setuptools.__version__} Python-urllib/{py_major}z{}.{})Zpy_major� setuptoolsc C s4 zt �| �W S tk r. td| f ��Y nX d S )Nz1Not a URL, existing file, or requirement spec: %r)r �parse� ValueErrorr )�spec� r&