| 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 : |
3 �N�a� � @ s� d Z ddlZddlZddlZddlZddlmZmZ ddl Z ddl mZ ddlZddl Z ddlmZ ddlZddlmZ ddlmZmZ dd lmZ dd lmZ eje�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 0 C s� t � ���}y|j|� tjd� W n tk r@ tjd� dS X y| ji �}tjd|� W n" tk r~ tjddd� dS X y|j|� tjd� W n tk r� tjd � dS X t� }tjd |� z�y| j |i �}tjd|� W n$ tk �r tjddd� dS X |j d ��s*tjd|� dS t||�}t|��rLtjd|� ntjd|� dS t j|��rttjd� ntjd� dS W d tj|� 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.6/check.py�check_build_sdist sV r c 0 C s� t � ���}y|j|� tjd� W n tk r@ tjd� dS X y| ji �}tjd|� W n" tk r~ tjddd� dS X y|j|� tjd� W n tk r� tjd � dS X t� }tjd |� z�y| j |i �}tjd|� W n$ tk �r tjddd� dS X |j d ��s*tjd|� dS t||�}t|��rLtjd|� ntjd|� dS t j|��rttjd� ntjd� dS W d tj|� 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"