Your IP : 18.223.171.83


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pyc

�
�Rec@s�ddlZddlmZddlmZddlmZddlmZddl	m
Z
e
r�ddlmZm
Z
ddlmZdd	lmZneje�Zd
efd��YZdS(i����N(tBuildEnvironment(tAbstractDistribution(tInstallationError(trunner_with_spinner_message(tMYPY_CHECK_RUNNING(tSettTuple(tDistribution(t
PackageFindertSourceDistributioncBs)eZdZd�Zd�Zd�ZRS(s�Represents a source distribution.

    The preparation step for these needs metadata for the packages to be
    generated, either using PEP 517 or using the legacy `setup.py egg_info`.
    cCs
|jj�S(N(treqtget_dist(tself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pytget_pkg_resources_distributionscCsF|jj�|jjo|}|r5|j|�n|jj�dS(N(R
tload_pyproject_tomlt
use_pep517t_setup_isolationtprepare_metadata(Rtfindertbuild_isolationtshould_isolate((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pytprepare_distribution_metadatas

c	s���fd�}�jj}|dk	s0t�t��j_�jjj||dd��jjj�jj�\�}�r�|d��n|r�t	j
d�j�t	j
ddjtt
t|����n�jj�Qtd�}�jj}|dk	s
t�|j|��|j�}WdQXWdQX�jjj|�\�}�rf|d	��n�jjj||d
d�dS(Nc
sPd}|jd�jd|ddjd�t��D���}t|��dS(NsZSome build dependencies for {requirement} conflict with {conflicting_with}: {description}.trequirementtconflicting_withtdescriptions, css'|]\}}dj||�VqdS(s{} is incompatible with {}N(tformat(t.0t	installedtwanted((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pys	<genexpr>6s(RR
tjointsortedR(Rtconflicting_reqst
format_stringt
error_message(tconflictingR(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pyt_raise_conflicts,s		toverlaysInstalling build dependenciess"PEP 517/518 supported requirementss4Missing build requirements in pyproject.toml for %s.s`The project does not specify a build backend, and pip cannot fall back to setuptools without %s.s and s#Getting requirements to build wheelsthe backend dependenciestnormalsInstalling backend dependencies(R
tpyproject_requirestNonetAssertionErrorRt	build_envtinstall_requirementstcheck_requirementstrequirements_to_checktloggertwarningRtmaptreprRRtpep517_backendtsubprocess_runnertget_requires_for_build_wheel(RRR#R&tmissingtrunnertbackendtreqs((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/_internal/distributions/sdist.pyR*s@	

"
		(t__name__t
__module__t__doc__R
RR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pyR	s		(tloggingtpip._internal.build_envRt pip._internal.distributions.baseRtpip._internal.exceptionsRtpip._internal.utils.subprocessRtpip._internal.utils.typingRttypingRRtpip._vendor.pkg_resourcesRt"pip._internal.index.package_finderRt	getLoggerR8R-R	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/distributions/sdist.pyt<module>s

?>