Viewing File: /opt/alt/python312/lib/python3.12/site-packages/pkg_resources/__pycache__/__init__.cpython-312.pyc
�
��_i� � �` � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlZ e ddlm!Z! ddlm"Z"m#Z#m$Z$ dZ%ddlm&Z' dd l(m)Z)m*Z* ddl+m,Z- e-j\ dd
l/m0Z0m1Z1m2Z2 ddl3m4Z4 ddl3m5Z5 e6d
� e6d� e6d� e6d� e6d� ejn dk r e8d� �dZ9dZ:dZ;dZ<dZ=dZ>dZ?dZ@dZAdZBdZCdZDdZEdZFdZGdZHdZI e j� deKd�� ej� dej� � ZN G d� deO� ZPe5j� j� ZSi ZTd� ZUd� ZVd� ZWd� ZXd� ZYd� ZZd � Z[d!� xZ\Z]d"� Z^g d#�Z_ G d$� d%e`� Za G d&� d'ea� Zb G d(� d)eb� Zc G d*� d+ea� Zd G d,� d-ea� Zei Zf d.j� ejn � Zhd/ZidZjd0ZkdZld1Zmd2� Znd3� Zog fd4�Zpd5� Zqd6� Zr ej� d7� Zs ej� d8� ZterZud9� Zvd:� ZwewZxd;� Zyd<� Zzd�d=�Z{d>� Z| G d?� d@� Z} G dA� dBe}� Z~ G dC� dD� Z G dE� dFe�� Z� G dG� dH� Z�e�Z� G dI� dJe8� Z� G dK� dL� Z�dM� Z�dN� Z�dO� Z�dP� Z�dQ� Z�dR� Z�dS� Z�dT� Z�d�dU�Z� G dV� dW� Z� ene�e�� dX� Z� G dY� dZe�� Z� G d[� d\e�� Z�e��j) � G d]� d^e�� Z� e�� Z� G d_� d`e�� Z� G da� dbe�� Z� G dc� dde�� Z� ene�j4 e�� G de� dfe�� Z� G dg� dhe�� Z� G di� dje�� Z� eUdki �l� dm� Z�d�dn�Z�d�do�Z� e�e�j4 e�� d�dp�Z� e�e�e�� d�dq�Z�dr� Z� G ds� dt� Z�du� Z�dv� Z�dw� Z�dx� Z� e�edy� r e�e�jT e�� e�e-�jV e�� eUdki �z� eUdki �{� d|� Z�d}� Z�d~� Z�d� Z�d�d��Z�d�� Z� e�edy� r e�e�jT e�� e�e�j4 e�� e�e-�jV e�� d�� Z� e�e�e�� d�� Z�d�� Z�i fd��Z�d�� Z�d�� Z�d�� Z�d�� Z� ej� d�� �jt Z� ej� d�e�jx e�jz z � �jt 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�e5�j� �j� � Z� G d�� d�e5�j� �j� � Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z� e �j� d�ePd��� d�� Z�e� eӫ fd��� Z� G d�� d�eի Z�e�d�� � Z�y# e$ r ddlZY ��w xY w# e$ r e ZY ��w xY w# e$ r dZ%Y ��w xY w# e$ r dZ-Y ��w xY w)�a�
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.
This module is deprecated. Users are directed to :mod:`importlib.resources`,
:mod:`importlib.metadata` and :pypi:`packaging` instead.
� N)�get_importer)�utime)�mkdir�rename�unlinkTF)�open)�isdir�split)�yield_lines�drop_comment�join_continuation)�platformdirs)� 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 requiredzbpkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html� ��
stacklevelz,^v?(?P<safe>(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)c � � e Zd ZdZy)�
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-python312-setuptools-69.0.2-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pkg_resources/__init__.pyr r � s � �r r c � � t � j |� t j t j || � � y �N)�globals�update�_state_vars�dict�fromkeys)�vartype�kws r �_declare_stater( � s+ � ��I���R�����t�}�}�R��1�2r c �~ � i } t � }t j � D ] \ }} |d|z || � | |<