ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/
Upload File :
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pyc

�
Bu�_c@s�dZddlZddlZddlZddlZddlZyddljZWne	k
rtddl
ZnXyddlmZWn!e	k
r�ddl
mZnXddlmZddlmZmZddlmZmZmZddlmZmZmZeje�Zd	�Zd
ddd�Zed�Z d
�Z!ej"�Z#e#j$ddd�e#j$dddd�d�Z%edkr�e%�ndS(s2Build metadata for a project using PEP 517 hooks.
i����N(tPathi(tBuildEnvironment(tPep517HookCallertquiet_subprocess_runner(ttempdirtmkdir_ptdir_to_zipfile(tvalidate_systemtload_systemt
compat_systemc
Cs�|ji�}tjd|�|j|�tjd�t��i}tjd|�|j|i�}tjj||�}t	j
|tjj|tjj|���WdQXdS(NsGot build requires: %ss$Installed dynamic build dependenciessTrying to build metadata in %s(tget_requires_for_build_wheeltlogtinfotpip_installRt prepare_metadata_for_build_wheeltostpathtjointshutiltmovetbasename(thookstenvtdesttreqsttdtfilenametsource((sH/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pyt
_prep_metas

t.cCs�|pt|�}tjj||p'd�}t|�t|�t||d|jd��}|jt	��8t
��(}|j|d�t|||�WdQXWdQXdS(Ntdists
build-backendsbackend-pathtrequires(
RRRRRRRtgettsubprocess_runnerRRR
R(t
source_dirRtsystemRR((sH/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pytbuild)s

cCs-t��}|d|�t|�SWdQXdS(NR(RR(tbuildertout_dir((sH/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pytbuild_as_zip8s
cCsXtjj|�}t|�}tjtd|d|�}tt|��}t	j
|�S(s�
    Given a source directory (root) of a package,
    return an importlib.metadata.Distribution object
    with metadata build from that package.
    R"R#(RRt
expanduserR	t	functoolstpartialR$RR'timp_metatPathDistribution(trootR#R%R((sH/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pytload>s
R"thelps%A directory containing pyproject.tomls	--out-dirs-os>Destination in which to save the builds relative to source dircCs#tj�}t|j|j�dS(N(tparsert
parse_argsR$R"R&(targs((sH/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pytmainVst__main__(&t__doc__targparsetloggingRRR)timportlib.metadatatmetadataR+tImportErrortimportlib_metadatatzipfileRtzipptenvbuildRtwrappersRRtdirtoolsRRRR$RRR	t	getLoggert__name__RRtNoneR'R.tArgumentParserR0tadd_argumentR3(((sH/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/meta.pyt<module>s@

		
		

Zerion Mini Shell 1.0