$48 GRAYBYTE WORDPRESS FILE MANAGER $14

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.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python310/lib/python3.10/site-packages/setuptools/__pycache__/

HOME
Current File : /opt/alt/python310/lib/python3.10/site-packages/setuptools/__pycache__//build_meta.cpython-310.pyc
o

Xai((�@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-python310-setuptools-58.3.0-4.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/build_meta.py�__init__4s
zSetupRequirementsError.__init__N)�__name__�
__module__�__qualname__rr
r
r
rr	3sr	c@s&eZdZdd�Zeejdd���ZdS)�DistributioncCstttt|���}t|��r
)�list�map�strrr	)rrZspecifier_listr
r
r�fetch_build_eggs9szDistribution.fetch_build_eggsccs2�tjj}|tj_z
dVW|tj_dS|tj_w)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
rr8s
rccs.�tj}dd�t_z	dVW|t_dS|t_w)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>Wsz+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-cs<�fdd�t�|�D�}z|\}W|Stytd��w)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)�	directoryr3Zmatching�filer
r2r�_file_with_extensioncs
����r8cCs&tj�|�st�d�Sttdt�|�S)Nz%from setuptools import setup; setup()�open)r$r%�exists�io�StringIO�getattr�tokenizer9��setup_scriptr
r
r�_open_setup_scriptqs
rAc@sfeZdZdd�Zdd�Zddd�Zdd	d
�Zddd�Z	dd
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_zt���|��Wd�W|S1s*wYW|StyI}z||j7}WYd}~|Sd}~ww)N��egg_inforC)rG�sys�argvrr�	run_setupr	r)rrF�requirements�er
r
r�_get_build_requires�s 
�

�����z%_BuildMetaBackend._get_build_requires�setup.pycCsX|}d}t|��}|���dd�}Wd�n1swYtt||d�t��dS)N�__main__z\r\nz\n�exec)rA�read�replacerR�compile�locals)rr@�__file__rr1�coder
r
rrL�s
�z_BuildMetaBackend.run_setupNcCs|�|�}|j|dgd�S)N�wheel�rM�rGrOrEr
r
rr�s
�z._BuildMetaBackend.get_requires_for_build_wheelcCs|�|�}|j|gd�S)NrZr[rEr
r
rr�s
z._BuildMetaBackend.get_requires_for_build_sdistcCs�tjdd�dd|gt_t��|��Wd�n1swY|}	dd�t�|�D�}t|�dkrLtt|��dkrLtj�	|t�|�d�}q&t|�dksTJ�	||krmt
�tj�	||d�|�t
j|dd�|dS)	NrHZ	dist_infoz
--egg-baseTcSsg|]	}|�d�r|�qS)z
.dist-infor.r0r
r
rr+�s
�zF_BuildMetaBackend.prepare_metadata_for_build_wheel.<locals>.<listcomp>r)�
ignore_errors)
rJrKr#rLr$r,�lenr-r%r'�shutil�move�rmtree)r�metadata_directoryrFZdist_info_directoryZ
dist_infosr
r
rr�s0�
���z2_BuildMetaBackend.prepare_metadata_for_build_wheelc	Cs�|�|�}tj�|�}tj|dd�tj|d��T}tjdd�|d|g|dt_t	��|�
�Wd�n1s=wYt||�}tj�||�}tj�
|�rYt�|�t�tj�||�|�Wd�|S1sowY|S)NT)�exist_ok)�dirrHz
--dist-dirrC)rGr$r%�abspath�makedirs�tempfile�TemporaryDirectoryrJrKr#rLr8r'r:�remove�rename)rZ
setup_commandZresult_extensionZresult_directoryrFZtmp_dist_dirZresult_basename�result_pathr
r
r�_build_with_temp_dir�s.
��
��

��z&_BuildMetaBackend._build_with_temp_dircCs|�dgd||�S)N�bdist_wheelz.whl�rk)r�wheel_directoryrFrar
r
rr�s
�z_BuildMetaBackend.build_wheelcCs|�gd�d||�S)N)�sdistz	--formats�gztarz.tar.gzrm)r�sdist_directoryrFr
r
rr�s
�z_BuildMetaBackend.build_sdist�rPr
)NN)rrrrGrOrLrrrrkrrr
r
r
rrBys



�"
�rBcs"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.
    rPc
s�ttj�}tj�tj�|��}|tjvrtj�d|�tjd}|tjd<ztt	|�j
|d�W|tjdd�<|tjd<dS|tjdd�<|tjd<w)Nrr?)rrJr%r$�dirnamerd�insertrK�superrsrL)rr@�sys_pathZ
script_dirZ
sys_argv_0��	__class__r
rrL�s 



���z!_BuildMetaLegacyBackend.run_setuprr)rrr�__doc__rL�
__classcell__r
r
rxrrs�s
rs) rzr;r$rJr>r^rrfr"r�
pkg_resourcesr�__all__�
BaseExceptionr	�distrrr#r-r8rA�objectrBrsZ_BACKENDrrrrrrr
r
r
r�<module>s8	
m)



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-310.pyc
8.6 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
_deprecation_warning.cpython-310.pyc
0.591 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
_imp.cpython-310.pyc
2.081 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
archive_util.cpython-310.pyc
5.763 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
build_meta.cpython-310.pyc
8.954 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
config.cpython-310.pyc
20.47 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
dep_util.cpython-310.pyc
0.891 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
depends.cpython-310.pyc
5.2 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
dist.cpython-310.pyc
35.436 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
errors.cpython-310.pyc
0.884 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
extension.cpython-310.pyc
1.954 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
glob.cpython-310.pyc
3.701 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
installer.cpython-310.pyc
2.742 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
launch.cpython-310.pyc
0.939 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
monkey.cpython-310.pyc
4.58 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
msvc.cpython-310.pyc
41.693 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
namespaces.cpython-310.pyc
3.587 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
package_index.cpython-310.pyc
31.782 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
py34compat.cpython-310.pyc
0.524 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
sandbox.cpython-310.pyc
15.442 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
unicode_utils.cpython-310.pyc
1.14 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
version.cpython-310.pyc
0.37 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
wheel.cpython-310.pyc
7.231 KB
9 Jan 2026 2.27 PM
root / linksafe
0644
windows_support.cpython-310.pyc
1.055 KB
9 Jan 2026 2.27 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF