403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.6/site-packages/pip/_vendor/pep517/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.6/site-packages/pip/_vendor/pep517/__pycache__/check.cpython-36.pyc
3

�N�a��@s�dZddlZddlZddlZddlZddlmZmZddl	Z	ddl
mZddlZddl
Z
ddlmZddlZddlmZddlmZmZdd	lmZdd
lmZeje�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)�CalledProcessError)�mkdtemp�)�enable_colourful_output)�TOMLDecodeError�	toml_load)�BuildEnvironment)�Pep517HookCallerc0Cs�t����}y|j|�tjd�Wntk
r@tjd�dSXy|ji�}tjd|�Wn"tk
r~tjddd�dSXy|j|�tjd�Wntk
r�tjd	�dSXt�}tjd
|�z�y|j	|i�}tjd|�Wn$tk
�rtjddd�dSX|j
d
��s*tjd|�dSt||�}t|��rLtjd|�ntjd|�dSt
j|��rttjd�ntjd�dSWdtj|�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�errorZget_requires_for_build_sdist�	ExceptionrZbuild_sdist�endswith�pjoinr�tarfileZ
is_tarfile�shutil�rmtree)�hooks�build_sys_requires�env�reqs�td�filename�path�r�/usr/lib/python3.6/check.py�check_build_sdistsV








r c0Cs�t����}y|j|�tjd�Wntk
r@tjd�dSXy|ji�}tjd|�Wn"tk
r~tjddd�dSXy|j|�tjd�Wntk
r�tjd	�dSXt�}tjd
|�z�y|j	|i�}tjd|�Wn$tk
�rtjddd�dSX|j
d
��s*tjd|�dSt||�}t|��rLtjd|�ntjd|�dSt
j|��rttjd�ntjd�dSWdtj|�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
rrrrZget_requires_for_build_wheelrrZbuild_wheelrrr�zipfileZ
is_zipfilerr)rrrrrrrrrr�check_build_wheelPsT








r"cCs�t|d�}t|�rtjd�ntjd�dSyPtj|d��}t|�}WdQRX|d}|d}|d}|jd	�}tjd
�Wn&t	t
fk
r�tjddd
�dSXt|||�}t||�}	t
||�}
|	s�tjd�|
s�tjd�|	S)Nzpyproject.tomlzFound pyproject.tomlzMissing pyproject.tomlF�rbzbuild-system�requiresz
build-backendzbackend-pathzLoaded pyproject.tomlzInvalid pyproject.tomlT)rz%Sdist checks failed; scroll up to seezWheel checks failed)rrrrr�io�openr	�getr�KeyErrorrr r"�warning)�
source_dirZ	pyproject�fZpyproject_dataZbuildsysr$ZbackendZbackend_pathrZsdist_okZwheel_okrrr�check�s0






r,cCsjtjd�tj�}|jddd�|j|�}t�t|j�}|rNt	t
dd��nt	t
dd��tjd	�dS)
NzQpep517.check is deprecated. Consider switching to https://pypi.org/project/build/r*z%A directory containing pyproject.toml)�helpz
Checks passed�greenz
Checks failed�redr)
rr)�argparse�ArgumentParser�add_argument�
parse_argsrr,r*�print�ansi�sys�exit)�argvZap�args�okrrr�main�s


r;zzzz)�resetZboldr/r.cCs8tjdkr,tjj�r,t|t|�tdSt|�SdS)N�ntr<)�os�namer6�stdout�isatty�
ansi_codes�str)�s�attrrrrr5�sr5�__main__)N)#�__doc__r0r%Zloggingr>Zos.pathrrrr�
subprocessrr6rZtempfilerr!Zcolorlogr�compatrr	Zenvbuildr
ZwrappersrZ	getLogger�__name__rr r"r,r;rBr5rrrr�<module>s6
98"


Youez - 2016 - github.com/yon3zu
LinuXploit