$24 GRAYBYTE WORDPRESS FILE MANAGER $25

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python39/lib/python3.9/site-packages/setuptools/__pycache__/

HOME
Current File : /opt/alt/python39/lib/python3.9/site-packages/setuptools/__pycache__//build_meta.cpython-39.pyc
a

(�Re((�@s�dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZgd�ZGdd�de
�ZGdd�dejj�Zejd	d
��Zdd�Zd
d�Zdd�ZGdd�de�ZGdd�de�Ze�ZejZejZejZejZejZe�ZdS)a-A PEP 517 interface to setuptools

Previously, when a user or a command line tool (let's call it a "frontend")
needed to make a request of setuptools to take a certain action, for
example, generating a list of installation requirements, the frontend would
would call "setup.py egg_info" or "setup.py bdist_wheel" on the command line.

PEP 517 defines a different method of interfacing with setuptools. Rather
than calling "setup.py" directly, the frontend should:

  1. Set the current directory to the directory with a setup.py file
  2. Import this module into a safe python interpreter (one in which
     setuptools can potentially set global variables or crash hard).
  3. Call one of the functions defined in PEP 517.

What each function does is defined in PEP 517. However, here is a "casual"
definition of the functions (this definition should not be relied on for
bug reports or API stability):

  - `build_wheel`: build a wheel in the folder and return the basename
  - `get_requires_for_build_wheel`: get the `setup_requires` to build
  - `prepare_metadata_for_build_wheel`: get the `install_requires`
  - `build_sdist`: build an sdist in the folder and return the basename
  - `get_requires_for_build_sdist`: get the `setup_requires` to build

Again, this is not a formal definition! Just a "taste" of the module.
�N)�parse_requirements)�get_requires_for_build_sdist�get_requires_for_build_wheel� prepare_metadata_for_build_wheel�build_wheel�build_sdist�
__legacy__�SetupRequirementsErrorc@seZdZdd�ZdS)r	cCs
||_dS�N)�
specifiers)�selfr�r
��/builddir/build/BUILDROOT/alt-python39-setuptools-58.3.0-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/setuptools/build_meta.py�__init__4szSetupRequirementsError.__init__N)�__name__�
__module__�__qualname__rr
r
r
rr	3sr	c@s&eZdZdd�Zeejdd���ZdS)�DistributioncCstttt|���}t|��dSr
)�list�map�strrr	)rrZspecifier_listr
r
r�fetch_build_eggs9szDistribution.fetch_build_eggsccs2tjj}|tj_zdVW|tj_n
|tj_0dS)zw
        Replace
        distutils.dist.Distribution with this class
        for the duration of this context.
        N)�	distutils�corer)�cls�origr
r
r�patch>s
zDistribution.patchN)rrrr�classmethod�
contextlib�contextmanagerrr
r
r
rr8srccs.tj}dd�t_zdVW|t_n|t_0dS)a
Temporarily disable installing setup_requires

    Under PEP 517, the backend reports build dependencies to the frontend,
    and the frontend is responsible for ensuring they're installed.
    So setuptools (acting as a backend) should not try to install them.
    cSsdSr
r
)�attrsr
r
r�<lambda>W�z+no_install_setup_requires.<locals>.<lambda>N)�
setuptoolsZ_install_setup_requires)rr
r
r�no_install_setup_requiresNs

r$cs�fdd�t���D�S)Ncs&g|]}tj�tj��|��r|�qSr
)�os�path�isdir�join)�.0�name�Za_dirr
r�
<listcomp>_s�z1_get_immediate_subdirectories.<locals>.<listcomp>)r%�listdirr+r
r+r�_get_immediate_subdirectories^sr.csB�fdd�t�|�D�}z
|\}Wnty<td��Yn0|S)Nc3s|]}|���r|VqdSr
��endswith�r)�f��	extensionr
r�	<genexpr>ds
�z'_file_with_extension.<locals>.<genexpr>z[No distribution was found. Ensure that `setup.py` is not empty and that it calls `setup()`.)r%r-�
ValueError)�	directoryr4Zmatching�filer
r3r�_file_with_extensioncs
�
�
r9cCs&tj�|�st�d�Sttdt�|�S)Nz%from setuptools import setup; setup()�open)r%r&�exists�io�StringIO�getattr�tokenizer:��setup_scriptr
r
r�_open_setup_scriptqs
rBc@s`eZdZdd�Zdd�Zddd�Zdd	d
�Zddd�Zdd
d�Zdd�Z	ddd�Z
ddd�ZdS)�_BuildMetaBackendcCs|pi}|�dg�|S)N�--global-option)�
setdefault�r�config_settingsr
r
r�_fix_config{sz_BuildMetaBackend._fix_configc
Cs�|�|�}tjdd�dg|dt_z4t���|��Wd�n1sP0YWn.ty�}z||j7}WYd}~n
d}~00|S)N��egg_inforD)rH�sys�argvrr�	run_setupr	r)rrG�requirements�er
r
r�_get_build_requires�s
�
* z%_BuildMetaBackend._get_build_requires�setup.pycCsX|}d}t|�� }|���dd�}Wd�n1s60Ytt||d�t��dS)N�__main__z\r\nz\n�exec)rB�read�replacerS�compile�locals)rrA�__file__rr2�coder
r
rrM�s

.z_BuildMetaBackend.run_setupNcCs|�|�}|j|dgd�S)N�wheel�rN�rHrPrFr
r
rr�s
�z._BuildMetaBackend.get_requires_for_build_wheelcCs|�|�}|j|gd�S)Nr[r\rFr
r
rr�s
z._BuildMetaBackend.get_requires_for_build_sdistcCs�tjdd�dd|gt_t��|��Wd�n1s>0Y|}dd�t�|�D�}t|�dkr�tt|��dkr�tj�	|t�|�d�}qLt|�dks�J�q�qL||kr�t
�tj�	||d�|�t
j|dd�|dS)	NrIZ	dist_infoz
--egg-basecSsg|]}|�d�r|�qS)z
.dist-infor/r1r
r
rr,�s
�zF_BuildMetaBackend.prepare_metadata_for_build_wheel.<locals>.<listcomp>rT)�
ignore_errors)
rKrLr$rMr%r-�lenr.r&r(�shutil�move�rmtree)r�metadata_directoryrGZdist_info_directoryZ
dist_infosr
r
rr�s0�&
����z2_BuildMetaBackend.prepare_metadata_for_build_wheelc	Cs�|�|�}tj�|�}tj|dd�tj|d���}tjdd�|d|g|dt_t	��|�
�Wd�n1sz0Yt||�}tj�||�}tj�
|�r�t�|�t�tj�||�|�Wd�n1s�0Y|S)NT)�exist_ok)�dirrIz
--dist-dirrD)rHr%r&�abspath�makedirs�tempfile�TemporaryDirectoryrKrLr$rMr9r(r;�remove�rename)rZ
setup_commandZresult_extensionZresult_directoryrGZtmp_dist_dirZresult_basename�result_pathr
r
r�_build_with_temp_dir�s&
��&�
4z&_BuildMetaBackend._build_with_temp_dircCs|�dgd||�S)N�bdist_wheelz.whl�rl)r�wheel_directoryrGrbr
r
rr�s
�z_BuildMetaBackend.build_wheelcCs|�gd�d||�S)N)�sdistz	--formats�gztarz.tar.gzrn)r�sdist_directoryrGr
r
rr�s
�z_BuildMetaBackend.build_sdist)rQ)N)N)N)NN)N)rrrrHrPrMrrrrlrrr
r
r
rrCys


�
"�
rCcs"eZdZdZd�fdd�	Z�ZS)�_BuildMetaLegacyBackendaOCompatibility backend for setuptools

    This is a version of setuptools.build_meta that endeavors
    to maintain backwards
    compatibility with pre-PEP 517 modes of invocation. It
    exists as a temporary
    bridge between the old packaging mechanism and the new
    packaging mechanism,
    and will eventually be removed.
    rQc
s�ttj�}tj�tj�|��}|tjvr6tj�d|�tjd}|tjd<z.tt	|�j
|d�W|tjdd�<|tjd<n|tjdd�<|tjd<0dS)Nrr@)rrKr&r%�dirnamere�insertrL�superrsrM)rrA�sys_pathZ
script_dirZ
sys_argv_0��	__class__r
rrM�s 



���z!_BuildMetaLegacyBackend.run_setup)rQ)rrr�__doc__rM�
__classcell__r
r
rxrrs�s
rs) rzr<r%rKr?r_rrgr#r�
pkg_resourcesr�__all__�
BaseExceptionr	�distrrr$r.r9rB�objectrCrsZ_BACKENDrrrrrrr
r
r
r�<module>s6	
m)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / linksafe
0755
__init__.cpython-39.pyc
8.541 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
_deprecation_warning.cpython-39.pyc
0.584 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
_imp.cpython-39.pyc
2.083 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
archive_util.cpython-39.pyc
5.725 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
build_meta.cpython-39.pyc
8.907 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
config.cpython-39.pyc
20.385 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
dep_util.cpython-39.pyc
0.884 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
depends.cpython-39.pyc
5.173 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
dist.cpython-39.pyc
35.64 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
errors.cpython-39.pyc
0.877 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
extension.cpython-39.pyc
1.945 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
glob.cpython-39.pyc
3.654 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
installer.cpython-39.pyc
2.753 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
launch.cpython-39.pyc
0.927 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
monkey.cpython-39.pyc
4.552 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
msvc.cpython-39.pyc
41.882 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
namespaces.cpython-39.pyc
3.563 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
package_index.cpython-39.pyc
31.918 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
py34compat.cpython-39.pyc
0.516 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
sandbox.cpython-39.pyc
15.434 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
unicode_utils.cpython-39.pyc
1.135 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
version.cpython-39.pyc
0.363 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
wheel.cpython-39.pyc
7.156 KB
13 Nov 2023 9.50 PM
root / linksafe
0644
windows_support.cpython-39.pyc
1.046 KB
13 Nov 2023 9.50 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF