관리-도구
편집 파일: package_index.cpython-310.pyc
o ~�ReΛ � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl ZddlZddlZddlZddlmZ ddlZddlmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z# ddl$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ dd l,m-Z- e�.d �Z/e�.dej0�Z1e�.d�Z2e�.d ej0�j3Z4d�5� Z6g d�Z7dZ8dZ9e9j:dj:ej;� ed�Z<dd� Z=dd� Z>dd� Z?dBdd�Z@dBdd�ZAdBdd�ZBdedfd d!�ZCd"d#� ZDe�.d$ej0�ZEeDd%d&� �ZFG d'd(� d(�ZGG d)d*� d*eG�ZHG d+d,� d,e�ZIe�.d-�jJZKd.d/� ZLd0d1� ZMdCd2d3�ZNd4d5� ZOG d6d7� d7�ZPG d8d9� d9ejQ�ZRejSjTfd:d;�ZUd<d=� ZVeNe8�eU�ZUd>d?� ZWd@dA� ZXdS )Dz#PyPI and direct package downloading� N��wraps) � CHECKOUT_DIST�Distribution�BINARY_DIST�normalize_path�SOURCE_DIST�Environment�find_distributions� safe_name�safe_version�to_filename�Requirement�DEVELOP_DIST�EGG_DIST)�log)�DistutilsError)� translate)�Wheel��unique_everseenz^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 s6 zt �| �W S ty } ztd| f �|�d }~ww )Nz1Not a URL, existing file, or requirement spec: %r)r �parse� ValueErrorr )�spec�e� r! ��/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-2.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/package_index.py�parse_requirement_arg6 s ����r# c C s� | � � }d\}}}|�d�rS|�d�r| dd� }d}n7|�dd�r1| d d � }| dd� }d}n"|�d�r?| dd� }d }n|�dd�rS| d d � }| dd� }d }|||fS )z=Return (base,pyversion) or (None,None) for possible .exe name)NNN�.exez .win32.exeNi�����win32z .win32-pyi�i�������z.win-amd64.exei�z win-amd64z .win-amd64-pyi��)�lower�endswith� startswith)�namer'