Your IP : 18.118.128.17


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/meta.pyc

�
�Rec@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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/meta.pyt
_prep_metas

t.cCs�|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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/meta.pytbuild)s

cCs-t��}|d|�t|�SWdQXdS(NR(RR(tbuildertout_dir((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/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(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/meta.pyt<module>s@

		
		

?>