관리-도구
편집 파일: easy_install.cpython-38.pyc
U �Qab�U � @ s4 d Z ddlmZ ddlmZ ddlmZmZ ddlmZmZm Z m Z ddlmZm Z ddlmZmZ ddlmZ dd lmZ dd 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%ddl&m'Z'm(Z( ddl)m*Z* dd l+m,Z, ddl-m.Z.m/Z/ ddl)m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddl7m8Z8 ddl9m:Z:m;Z;m<Z< ddl5m=Z=m>Z> ddl?m@Z@ ddlAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZP dd lQZAeRZSejTdeAjUd� ddddddgZVd d!� ZWd"d� ZXe,jY�rBd#d$� ZZd%d&� Z[nd'd$� ZZd(d&� Z[d)d*� Z\G d+d� de0�Z]d,d-� Z^d.d/� Z_d0d1� Z`d2d� Zad3d� ZbG d4d� deH�ZcG d5d6� d6ec�Zdeje�fd7d8�d9k�r�edZcd:d;� Zgd<d=� Zhd>d?� Zid@dA� ZjdsdBdC�ZkdDdE� ZldFdG� ZmdHejnk�remZondIdJ� ZodtdLdM�ZpdNdO� ZqdPdQ� ZrdRdS� ZszddTlmtZu W n evk �rn dUdV� ZuY nX dWdX� ZtG dYdZ� dZew�Zxex�y� ZzG d[d\� d\ex�Z{G d]d^� d^�Z|G d_d`� d`e|�Z}G dadb� dbe}�Z~e|jZe|j�Z�dcdd� Z�dedf� Z�dgehfdhdi�Z�djdk� Z�dldm� Z�dudnd�Z�e"j�dodp� �Z�G dqdr� dre*�Z�d S )va% 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.readthedocs.io/en/latest/easy_install.html � )�glob)�get_platform)�convert_path� subst_vars)�DistutilsArgError�DistutilsOptionError�DistutilsError�DistutilsPlatformError)�INSTALL_SCHEMES�SCHEME_KEYS)�log�dir_util)� first_line_re)�find_executableN)�get_config_vars�get_path)�SetuptoolsDeprecationWarning)�six)�configparser�map)�Command)� run_setup)�rmtree_safe)�setopt)�unpack_archive)�PackageIndex�parse_requirement_arg� URL_SCHEME)� bdist_egg�egg_info)�Wheel)�yield_lines�normalize_path�resource_string�ensure_directory�get_distribution�find_distributions�Environment�Requirement�Distribution�PathMetadata�EggMetadata� WorkingSet�DistributionNotFound�VersionConflict�DEVELOP_DIST�default)�category�samefile�easy_install�PthDistributions�extract_wininst_cfg�main�get_exe_prefixesc C s t �d�dkS )N�P� )�struct�calcsize� r<