uawdijnntqw1x1x1
IP : 3.141.25.125
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
lib
/
.build-id
/
9a
/
..
/
b5
/
..
/
..
/
python2.7
/
site-packages
/
setuptools
/
build_meta.pyc
/
/
� �fc@s�dZddlZddlZddlZddlZddlZddlZddlZdefd��YZ dej jfd��YZdd�Zd �Z d �Zd�Zdd�Zdd �Zdd�Zddd�Zdd�ZdS(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����NtSetupRequirementsErrorcBseZd�ZRS(cCs ||_dS(N(t specifiers(tselfR((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt__init__(s(t__name__t __module__R(((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyR'stDistributioncBs)eZd�Zeejd���ZRS(cCst|��dS(N(R(RR((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pytfetch_build_eggs-sccs5tjj}|tj_z dVWd|tj_XdS(sw Replace distutils.dist.Distribution with this class for the duration of this context. N(t distutilstcoreR(tclstorig((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pytpatch0s (RRRtclassmethodt contextlibtcontextmanagerR(((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyR,s ssetup.pycBsa|}d}eede�|�}|j�jdd�}|j�e||d�e�UdS(Nt__main__topens\r\ns\ntexec(tgetattrttokenizeRtreadtreplacetclosetcompiletlocals(tsetup_scriptt__file__Rtftcode((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt _run_setup@s cCs |p i}|jdg�|S(Ns--global-option(t setdefault(tconfig_settings((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt_fix_configKscCs|t|�}ddg}tjd dg|dt_ytj��t�WdQXWn tk rw}||j7}nX|S(Nt setuptoolstwheelitegg_infos--global-option(R!tsystargvRRRRR(R trequirementste((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt_get_build_requiresQs cCsAgtj|�D]-}tjjtjj||��r|^qS(N(tostlistdirtpathtisdirtjoin(ta_dirtname((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt_get_immediate_subdirectories`scCst|�}t|�S(N(R!R)(R ((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pytget_requires_for_build_wheelescCst|�}t|�S(N(R!R)(R ((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pytget_requires_for_build_sdistjscCs tjd dd|gt_t�|}x�tr�gtj|�D]}|jd�rC|^qC}t|�dkr�tt|��dkr�tj j |tj|�d�}q-nt|�dks�t�Pq-W||krtj tj j ||d�|�tj|dt�n|dS(Nit dist_infos --egg-bases .dist-infoit ignore_errors(R%R&RtTrueR*R+tendswithtlenR1R,R.tAssertionErrortshutiltmovetrmtree(tmetadata_directoryR tdist_info_directoryRt dist_infos((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt prepare_metadata_for_build_wheelos& cCs�t|�}tjj|�}tjd dg|dt_t�|dkrptj|�tj d|�ngtj |�D]}|jd�r�|^q�}t|�dks�t �|dS(Nitbdist_wheels--global-optiontdists.whli(R!R*R,tabspathR%R&RR:R<tcopytreeR+R7R8R9(twheel_directoryR R=Rtwheels((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pytbuild_wheel�s cCs�t|�}tjj|�}tjd dg|dt_t�|dkrptj|�tj d|�ngtj |�D]}|jd�r�|^q�}t|�dks�t �|dS(Nitsdists--global-optionRBs.tar.gzi(R!R*R,RCR%R&RR:R<RDR+R7R8R9(tsdist_directoryR Rtsdists((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pytbuild_sdist�s (t__doc__R*R%RR:RR"Rt BaseExceptionRRBRRR!R)R1tNoneR2R3R@RGRK(((s9/usr/lib/python2.7/site-packages/setuptools/build_meta.pyt<module>s&
/home/../lib/.build-id/9a/../b5/../../python2.7/site-packages/setuptools/build_meta.pyc