Your IP : 18.118.184.36
a
(�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@dCdd�ZAdDdd�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� ZMdEd2d3�ZNd4d5� ZOG d6d7� d7�ZPG d8d9� d9ejQ�ZRejSjTfd:d;�ZUd<d=� ZVeNe8�eU�ZUd>d?� ZWd@dA� ZXdS )Fz#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 sF zt �| �W S ty@ } ztd| f �|�W Y d }~n
d }~0 0 d S )Nz1Not a URL, existing file, or requirement spec: %r)r �parse�
ValueErrorr )�spec�e� r! ��/builddir/build/BUILDROOT/alt-python39-setuptools-58.3.0-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/setuptools/package_index.py�parse_requirement_arg6 s ��r# c C s� | � � }d\}}}|�d�r�|�d�r8| dd� }d}nn|�dd�rb| d d
� }| dd� }d}nD|�d�r~| dd� }d
}n(|�dd�r�| 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'