| 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.7/site-packages/pip/_vendor/pep517/__pycache__/ |
Upload File : |
B
�N�a� � @ s� d Z ddlZddlZddlZddlZddlmZmZ ddl Z ddl
mZ ddlZddl
Z
ddlmZ ddlZddlmZ ddlmZmZ dd lmZ dd
lmZ e�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)�CalledProcessError)�mkdtemp� )�enable_colourful_output)�TOMLDecodeError� toml_load)�BuildEnvironment)�Pep517HookCallerc
C s� t � ���}y|�|� t�d� W n tk
r@ t�d� dS X y| �i �}t�d|� W n" tk
r~ tjddd� dS X y|�|� t�d� W n tk
r� t�d � dS X t� }t�d
|� z�y| � |i �}t�d|� W n$ tk
�r tjddd� dS X |�
d
��s*t�d|� dS t||�}t|��rLt�d|� nt�d|� dS t
�|��rtt�d� nt�d� dS W d t�|� X dS Q R X d S )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� Exceptionr Zbuild_sdist�endswith�pjoinr �tarfileZ
is_tarfile�shutil�rmtree)�hooks�build_sys_requires�env�reqs�td�filename�path� r �</usr/lib/python3.7/site-packages/pip/_vendor/pep517/check.py�check_build_sdist sV
r c
C s� t � ���}y|�|� t�d� W n tk
r@ t�d� dS X y| �i �}t�d|� W n" tk
r~ tjddd� dS X y|�|� t�d� W n tk
r� t�d � dS X t� }t�d
|� z�y| � |i �}t�d|� W n$ tk
�r tjddd� dS X |�
d
��s*t�d|� dS t||�}t|��rLt�d|� nt�d|� dS t
�|��rtt�d� nt�d� dS W d t�|� X dS Q R X d S )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
r r r r Zget_requires_for_build_wheelr r Zbuild_wheelr r r �zipfileZ
is_zipfiler r )r r r r r r r r r r �check_build_wheelP sT
r"