$76 GRAYBYTE WORDPRESS FILE MANAGER $41

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

/opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/pep517/__pycache__/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/pep517/__pycache__//check.cpython-37.pyc
B

��ReI�@s�dZddlZddlZddlZddlmZmZddlm	Z	m
ZddlZddl
mZddlZddlZddlmZddlZddlmZdd	lmZdd
lmZe�e�Zdd�Zd
d�Zdd�Zddd�Z ddddd�Z!dd�Z"edkr�e �dS)zHCheck a project and backend by attempting to build using PEP 517 hooks.
�N)�isfile�join)�TomlDecodeError�load)�CalledProcessError)�mkdtemp�)�enable_colourful_output)�BuildEnvironment)�Pep517HookCallerc
Cs�t����}y|�|�t�d�Wntk
r@t�d�dSXy|�i�}t�d|�Wn"tk
r~tjddd�dSXy|�|�t�d�Wntk
r�t�d	�dSXt�}t�d
|�z�y|�	|i�}t�d|�Wn$tk
�rtjddd�dSX|�
d
��s*t�d|�dSt||�}t|��rLt�d|�nt�d|�dSt
�|��rtt�d�nt�d�dSWdt�|�XdSQRXdS)Nz#Installed static build dependenciesz+Failed to install static build dependenciesFzGot build requires: %sz'Failure in get_requires_for_build_sdistT)�exc_infoz$Installed dynamic build dependenciesz,Failed to install dynamic build dependencieszTrying to build sdist in %szbuild_sdist returned %rzFailure in build_sdistz.tar.gzz*Filename %s doesn't have .tar.gz extensionzOutput file %s existszOutput file %s does not existzOutput file is a tar filezOutput file is not a tar file)r
�pip_install�log�infor�error�get_requires_for_build_sdist�	Exceptionr�build_sdist�endswith�pjoinr�tarfile�
is_tarfile�shutil�rmtree)�hooks�build_sys_requires�env�reqs�td�filename�path�r!��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/pep517/check.py�check_build_sdistsV








r#c
Cs�t����}y|�|�t�d�Wntk
r@t�d�dSXy|�i�}t�d|�Wn"tk
r~tjddd�dSXy|�|�t�d�Wntk
r�t�d	�dSXt�}t�d
|�z�y|�	|i�}t�d|�Wn$tk
�rtjddd�dSX|�
d
��s*t�d|�dSt||�}t|��rLt�d|�nt�d|�dSt
�|��rtt�d�nt�d�dSWdt�|�XdSQRXdS)Nz#Installed static build dependenciesz+Failed to install static build dependenciesFzGot build requires: %sz'Failure in get_requires_for_build_sdistT)rz$Installed dynamic build dependenciesz,Failed to install dynamic build dependencieszTrying to build wheel in %szbuild_wheel returned %rzFailure in build_wheelz.whlz'Filename %s doesn't have .whl extensionzOutput file %s existszOutput file %s does not existzOutput file is a zip filezOutput file is not a zip file)r
r
rrrr�get_requires_for_build_wheelrr�build_wheelrrr�zipfile�
is_zipfilerr)rrrrrrr r!r!r"�check_build_wheelOsT








r(c	Cs�t|d�}t|�rt�d�nt�d�dSyLt|��}t|�}WdQRX|d}|d}|d}|�d�}t�d	�Wn&tt	fk
r�tjd
dd�dSXt
|||�}t||�}	t||�}
|	s�t�
d
�|
s�t�
d�|	S)Nzpyproject.tomlzFound pyproject.tomlzMissing pyproject.tomlFzbuild-system�requiresz
build-backendzbackend-pathzLoaded pyproject.tomlzInvalid pyproject.tomlT)rz%Sdist checks failed; scroll up to seezWheel checks failed)rrrrr�open�	toml_load�getr�KeyErrorrr#r(�warning)�
source_dir�	pyproject�fZpyproject_dataZbuildsysr)�backend�backend_pathrZsdist_okZwheel_okr!r!r"�check�s0







r4cCs`t��}|jddd�|�|�}t�t|j�}|rDttdd��nttdd��t	�
d�dS)	Nr/z%A directory containing pyproject.toml)�helpz
Checks passed�greenz
Checks failed�redr)�argparse�ArgumentParser�add_argument�
parse_argsr	r4r/�print�ansi�sys�exit)�argvZap�args�okr!r!r"�main�s

rCzzzz)�resetZboldr7r6cCs8tjdkr,tj��r,t|t|�tdSt|�SdS)N�ntrD)�os�namer>�stdout�isatty�
ansi_codes�str)�s�attrr!r!r"r=�sr=�__main__)N)#�__doc__r8�loggingrF�os.pathrrrZpip._vendor.tomlrrr+r�
subprocessrr>r�tempfilerr&Zcolorlogr	Zenvbuildr
�wrappersr�	getLogger�__name__rr#r(r4rCrJr=r!r!r!r"�<module>s4
98"



Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.57 PM
root / linksafe
0755
__init__.cpython-37.pyc
0.31 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
_in_process.cpython-37.pyc
8.087 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
build.cpython-37.pyc
3.326 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
check.cpython-37.pyc
4.779 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
colorlog.cpython-37.pyc
2.88 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
compat.cpython-37.pyc
1.072 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
dirtools.cpython-37.pyc
1.33 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
envbuild.cpython-37.pyc
4.292 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
meta.cpython-37.pyc
2.782 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
wrappers.cpython-37.pyc
10.272 KB
13 Nov 2023 9.31 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF