관리-도구
편집 파일: __init__.cpython-311.pyc
� ,�Re� � �@ � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlZn# e$ r ddlZY nw xY w e n # e $ r e!ZY nw xY wddlm"Z" ddlm#Z#m$Z$m%Z% dZ&n # e$ r dZ&Y nw xY wddlm'Z( dd l)m*Z*m+Z+ ddl,m-Z. e.j/ n # e$ r dZ.Y nw xY wdd l0m1Z1m2Z2m3Z3 ddl4m5Z5 ddl4m6Z6 e7d � � e7d� � e7d� � e7d� � e7d� � ej8 dk r e9d� � �dZ:dZ;dZ<dZ=dZ>dZ?dZ@dZAdZBdZCdZDdZEdZFdZGdZHdZIdZJ G d� deK� � ZLd� ZMi ZNd� ZOd� ZPd� ZQd� ZRd� ZSd� ZTd� ZUd� xZVZWd� ZXg d �ZY G d!� d"eZ� � Z[ G d#� d$e[� � Z\ G d%� d&e\� � Z] G d'� d(e[� � Z^ G d)� d*e[� � Z_i Z` d+ja ej8 � Zbd,Zcd-Zdd.ZedZfd/Zgd0� Zhd1� Zig fd2�Zjd3� Zkd4� Zl ejm d5� � Zn ejm d6� � ZoelZpd7� Zqd8� ZrerZsd9� Ztd:� Zud�d;�Zvd<� Zw G d=� d>� � Zx G d?� d@ex� � Zy G dA� dB� � Zz G dC� dDe{� � Z| G dE� dF� � Z}e}Z~ G dG� dHe9� � Z G dI� dJ� � Z�dK� Z�dL� Z�dM� Z�dN� Z�dO� Z�dP� Z�d�dQ�Z� G dR� dS� � Z� ehe�e�� � dT� Z� G dU� dVe�� � Z� G dW� dXe�� � Z�e��� � � G dY� dZe�� � Z� e�� � Z� G d[� d\e{� � Z� G d]� d^e�� � Z� G d_� d`e�� � Z� ehej� e�� � G da� dbe�� � Z� G dc� dde�� � Z� G de� dfe�� � Z� eOdgi �h� � di� Z�d�dj�Z�d�dk�Z� e�ej� e�� � d�dl�Z� e�e�e�� � dm� Z�d�dn�Z�do� Z� G dp� dq� � Z�dr� Z�ds� Z�dt� Z�du� Z� e�ej� e�� � e�e.dv� � r e�e.j� e�� � eOdgi �w� � eOdgi �x� � dy� Z�dz� Z�d{� Z�d|� Z�d�d}�Z�d~� Z� e�ej� e�� � e�ej� e�� � e�e.dv� � r e�e.j� e�� � d� Z� e�e�e�� � d�� Z�d�� Z�i fd��Z�d�� Z�d�� Z�d�� Z�d�� Z� ejm d�� � j� Z� ejm d�ej� ej� z � � j� Z� G d�� d�� � Z�d�� Z� G d�� d�� � Z� G d�� d�e�� � Z� G d�� d�e�� � Z�e�e�e�d��Z�d�� Z�d�� Z� G d�� d�e6j� j� � � Z� G d�� d�e6j� j� � � Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z� e j� d�eLd��� � d�� Z�e� eͦ � fd��� � Z� G d�� d�eϦ � Z�e�d�� � � Z�dS )�aZ Package resource API -------------------- A resource is a logical file contained within a package, or a logical subdirectory thereof. The package resource API expects resource names to have their path parts separated with ``/``, *not* whatever the local path separator is. Do not use os.path operations to manipulate resource names being passed into the API. The package resource API is designed to work with normal filesystem packages, .egg files, and unpacked .egg files. It can also work in a limited way with .zip files and with custom PEP 302 loaders that support the ``get_data()`` method. � N)�get_importer)�utime)�mkdir�rename�unlinkTF)�open)�isdir�split)�yield_lines�drop_comment�join_continuation)�appdirs)� packagingz&pkg_resources.extern.packaging.versionz)pkg_resources.extern.packaging.specifiersz+pkg_resources.extern.packaging.requirementsz&pkg_resources.extern.packaging.markersz$pkg_resources.extern.packaging.utils)� � zPython 3.5 or later is requiredc � � e Zd ZdZdS )� PEP440Warningza Used when there is an issue with a version or specifier not complying with PEP 440. N��__name__� __module__�__qualname__�__doc__� � ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pkg_resources/__init__.pyr r p s � � � � � �� � � r r c �� � t j � | � � S # t j j $ r? t j | � d�t � � t j � | � � cY S w xY w)NzD is an invalid version and will not be supported in a future release)r �version�Version�InvalidVersion�warnings�warn�PkgResourcesDeprecationWarning� LegacyVersion)�vs r � parse_versionr% w s� � �2�� �(�(��+�+�+����+� 2� 2� 2�� �� � � �*� � � � � �.�.�q�1�1�1�1�1� 2���s �! �AA4�3A4c � � t � � � |� � t � t � || � � � � d S �N)�globals�update�_state_vars�dict�fromkeys)�vartype�kws r �_declare_stater/ � sB � ��I�I���R�������t�}�}�R��1�1�2�2�2�2�2r c � � i } t � � }t � � � D ]"\ }} |d|z || � � | |<