Viewing File: /opt/alt/python39/lib/python3.9/site-packages/pkg_resources/__pycache__/__init__.cpython-39.pyc
a
(�Re�� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ zddlZW n ey� ddlZY n0 ze W n e �y e!ZY n0 ddlm"Z" zddlm#Z#m$Z$m%Z% dZ&W n e�yb dZ&Y n0 ddlm'Z( dd l)m*Z*m+Z+ zddl,m-Z. e.j/ W n e�y� dZ.Y n0 dd
l0m1Z1 ddl0m2Z2 e3d� e3d
� e3d� e3d� ej4dk �r�e5d��dZ6dZ7dZ8dZ9dZ:dZ;dZ<dZ=dZ>dZ?dZ@dZAdZBdZCdZDdZEdZFG dd� deG�ZHdd� ZIi ZJdd� ZKdd� ZLdd� ZMdd� ZNdd� ZOd d!� ZPd"d#� ZQd$d%� ZRZSd&d'� ZTg d(�ZUG d)d*� d*eV�ZWG d+d,� d,eW�ZXG d-d.� d.eX�ZYG d/d0� d0eW�ZZG d1d2� d2eW�Z[i Z\d3j]ej4� Z^d4Z_d5Z`d6ZadZbd7Zcd8d9� Zdd:d;� Zeg fd<d=�Zfd>d?� Zgd@dA� Zhe�idB�Zje�idC�ZkehZldDdE� ZmdFdG� ZnenZodHdI� ZpdJdK� Zqd�dLdM�ZrdNdO� ZsG dPdQ� dQ�ZtG dRdS� dSet�ZuG dTdU� dU�ZvG dVdW� dWew�ZxG dXdY� dY�ZyeyZzG dZd[� d[e5�Z{G d\d]� d]�Z|d^d_� Z}d`da� Z~dbdc� Zddde� Z�dfdg� Z�dhdi� Z�d�djdk�Z�G dldm� dm�Z�ede�e�� dndo� Z�G dpdq� dqe��Z�G drds� dse��Z�e���� G dtdu� due��Z�e�� Z�G dvdw� dwew�Z�G dxdy� dye��Z�G dzd{� d{e��Z�edej�e�� G d|d}� d}e��Z�G d~d� de��Z�G d�d�� d�e��Z�eKd�i d�� d�d�� Z�d�d�d��Z�d�d�d��Z�e�ej�e�� d�d�d��Z�e�e�e�� d�d�� Z�d�d�d��Z�d�d�� Z�G d�d�� d��Z�d�d�� Z�d�d�� Z�d�d�� Z�d�d�� Z�e�ej�e�� e�e.d���r�e�e.j�e�� eKd�i d�� eKd�i d�� d�d�� Z�d�d�� Z�d�d�� Z�d�d�� Z�d�d�d��Z�d�d�� Z�e�ej�e�� e�ej�e�� e�e.d���r<e�e.j�e�� d�d�� Z�e�e�e�� d�d�� Z�d�d�� Z�i fd�d��Z�d�d�� Z�d�d�� Z�d�d�� Z�d�d�� Z�d�d�� Z�e�id��j�Z�e�id�ej�ej�B �j�Z�G d�d�� d��Z�d�d Z�G d�dĄ dăZ�G d�dƄ d�e��Z�G d�dȄ d�e��Z�e�e�e�dɜZ�d�d˄ Z�d�d̈́ Z�G d�dτ d�e2j�j��Z�G d�dф d�e2j�j��Z�d�dӄ Z�d�dՄ Z�d�dׄ Z�d�dل Z�d�dۄ Z�d�d݄ Z�e j�d�eHddߍ d�d� Z�e�eʃ fd�d��Z�e�d�d� �Z�G d�d� d�e̓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)�appdirs)� packagingz&pkg_resources.extern.packaging.versionz)pkg_resources.extern.packaging.specifiersz+pkg_resources.extern.packaging.requirementsz&pkg_resources.extern.packaging.markers)� � zPython 3.5 or later is requiredc @ s 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__� r r ��/builddir/build/BUILDROOT/alt-python39-setuptools-58.3.0-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pkg_resources/__init__.pyr i s r c C s6 zt j�| �W S t jjy0 t j�| � Y S 0 d S �N)r �version�Version�InvalidVersion�
LegacyVersion)�vr r r �
parse_versionp s r c K s"