관리-도구
편집 파일: easy_install.cpython-311.pyc
� ,�Re�N � � � d Z ddlmZ ddlmZ ddlmZmZ ddlmZmZm Z m Z ddlmZm Z ddlmZ ddlmZ dd lmZ dd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd l Z dd l!Z!dd l"Z"dd l#Z#dd l$Z$dd l%Z%dd l&Z&ddl&m'Z' ddl(m)Z) dd l(m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2m3Z3m4Z4 ddl-m5Z5m6Z6 ddl7m8Z8 ddl9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZF dd l9Z9ddlGmHZH ddlImJZJ ejK de9jL �� � g d�ZMd� ZNd� ZOd� ZPd� ZQ G d� d e*� � ZRd!� ZSd"� ZTd#� ZUd$� ZVd%� ZW G d&� d'e>� � ZX G d(� d)eX� � ZYejZ �[ d*d+� � d,k reYZXd-� Z\d.� Z]d/� Z^d0� Z_dPd1�Z`d2� Zad3� Zbd4ejc v rebZdnd5� ZddQd7�Zed8� Zfd9� Zgd:� Zh dd;lmiZj n# ek$ r d<� ZjY nw xY wd=� Zi G d>� d?el� � Zmem�n � � Zo G d@� dAem� � Zp G dB� dC� � Zq G dD� dEeq� � Zr G dF� dGer� � Zseqjt Zteqju ZudH� ZvdI� ZwdJe]fdK�ZxdL� ZydM� Zz G dN� dOe)� � Z{d S )Ra) Easy Install ------------ A tool for doing automatic download/extract/build of distutils-based Python packages. For detailed documentation, see the accompanying EasyInstall.txt file, or visit the `EasyInstall home page`__. __ https://setuptools.pypa.io/en/latest/deprecated/easy_install.html � )�glob)�get_platform)�convert_path� subst_vars)�DistutilsArgError�DistutilsOptionError�DistutilsError�DistutilsPlatformError)�log�dir_util)� first_line_re)�find_executable)�installN)�get_path)�SetuptoolsDeprecationWarning)�Command)� run_setup)�setopt)�unpack_archive)�PackageIndex�parse_requirement_arg� URL_SCHEME)� bdist_egg�egg_info)�Wheel) �normalize_path�resource_string�get_distribution�find_distributions�Environment�Requirement�Distribution�PathMetadata�EggMetadata� WorkingSet�DistributionNotFound�VersionConflict�DEVELOP_DIST� )�ensure_directory)�yield_lines�default)�category)�easy_install�PthDistributions�extract_wininst_cfg�get_exe_prefixesc �2 � t j d� � dk S )N�P� )�struct�calcsize� � ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/command/easy_install.py�is_64bitr: N s � ��?�3���1�$�$r8 c �, � | � d� � S )N�utf8)�encode��ss r9 � _to_bytesr@ R s � ��8�8�F���r8 c �T � | � d� � dS # t $ r Y dS w xY w)N�asciiTF)r= �UnicodeErrorr>