[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.20.182: ~ $


�t�_
�@svdZddlZddlZddlZddlmZddlZddlmZddl	m
Z
ddlmZm
Z
ddlmZeje�Zd	d
�Zdd�Zd
d�Zdd�Zdddd�Zej�Zejddd�ejdddddd�ejdddddd�ejdddd �d!d"�Zed#krreej��dS)$z%Build a project using PEP 517 hooks.
�N)�toml�)�BuildEnvironment)�Pep517HookCaller)�tempdir�mkdir_p)�FileNotFoundErrorcCsJddh}|t|�ksFdjd|t|��}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��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-1.el7.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/pep517/build.py�validate_systems
	rc	CsBtjj|d�}t|��}tj|�}WdQRX|dS)zC
    Load the build system from a source dir (pyproject.toml).
    zpyproject.tomlNzbuild-system)�os�path�join�openr�load)�
source_dir�	pyproject�fZpyproject_datarrr�load_systemsrcCs[yt|�}Wnttfk
r0i}YnX|jdd�|jdddg�|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	�
setuptools�wheel)rr�KeyError�
setdefault)rrrrr�
compat_system'sr!c
Cs�djt��}t||�}|i�}tjd|�|j|�tjd�t���}tjd||�djt��}t||�}	|	|i�}
tjj	||
�}t
j|tjj	|tjj|
���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�shutil�move�basename)�hooks�env�dist�destZget_requires_name�get_requires�reqs�tdZ
build_name�build�filename�sourcerrr�	_do_build:s

r4cCs�|pt|�}tjj||p'd�}t|�t|�t||d|jd��}t��+}|j	|d�t
||||�WdQRXdS)Nr,z
build-backendzbackend-pathr	)rrrrrrr�getrr&r4)rr,r-rr*r+rrrr1Ls

r1r�helpz%A directory containing pyproject.tomlz--binaryz-b�action�
store_true�defaultFz--sourcez-sz	--out-dirz-oz>Destination in which to save the builds relative to source dircCsxttd|js|jr"dnd|js8|jr>dndf��}x$|D]}t|j||j�qTWdS)N�sdistr)�list�filterr3�binaryr1rZout_dir)�args�distsr,rrr�mainps
	(
r@�__main__)�__doc__�argparse�loggingr�pip._vendorrr'Zenvbuildr�wrappersrZdirtoolsrr�compatr�	getLogger�__name__r$rrr!r4r1�ArgumentParser�parser�add_argumentr@�
parse_argsrrrr�<module>sB
			

Filemanager

Name Type Size Permission Actions
__init__.cpython-35.pyc File 317 B 0644
_in_process.cpython-35.pyc File 8.64 KB 0644
build.cpython-35.pyc File 3.61 KB 0644
check.cpython-35.pyc File 5.19 KB 0644
colorlog.cpython-35.pyc File 3.11 KB 0644
compat.cpython-35.pyc File 1.13 KB 0644
dirtools.cpython-35.pyc File 1.45 KB 0644
envbuild.cpython-35.pyc File 4.63 KB 0644
meta.cpython-35.pyc File 3 KB 0644
wrappers.cpython-35.pyc File 10.88 KB 0644