Your IP : 3.135.247.24


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

�
�Rec@@s�ddlmZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZer�dd	lmZmZmZmZmZdd
lmZneje�Zdefd��YZdS(
i(tabsolute_importN(tOrderedDict(tcanonicalize_name(tInstallationError(tWheel(tcompatibility_tags(tMYPY_CHECK_RUNNING(tDicttIterabletListtOptionaltTuple(tInstallRequirementtRequirementSetcB@sheZed�Zd�Zd�Zd�Zd�Zd	d	d�Z	d�Z
d�Zed��Z
RS(
cC@s"t�|_||_g|_dS(s!Create a RequirementSet.
        N(Rtrequirementstcheck_supported_wheelstunnamed_requirements(tselfR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pyt__init__s	cC@s?td�|jj�D�dd��}djd�|D��S(Ncs@s|]}|js|VqdS(N(t
comes_from(t.0treq((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pys	<genexpr>$stkeycS@s
t|j�S(N(Rtname(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/req/req_set.pyt<lambda>%tt cs@s|]}t|j�VqdS(N(tstrR(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/req/req_set.pys	<genexpr>'s(tsortedRtvaluestjoin(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/req/req_set.pyt__str__!sc	C@s_t|jj�dd��}d}|jd|jjdt|�ddjd�|D���S(	NRcS@s
t|j�S(N(RR(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/req/req_set.pyR-Rs4<{classname} object; {count} requirement(s): {reqs}>t	classnametcounttreqss, cs@s|]}t|j�VqdS(N(RR(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/req/req_set.pys	<genexpr>4s(RRRtformatt	__class__t__name__tlenR(RRt
format_string((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pyt__repr__)s	cC@s$|jst�|jj|�dS(N(RtAssertionErrorRtappend(Rtinstall_req((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pytadd_unnamed_requirement7scC@s/|jst�t|j�}||j|<dS(N(RR)RR(RR+tproject_name((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pytadd_named_requirement<sc	C@ss|j|�s2tjd|j|j�gdfS|jr�|jjr�t|jj	�}t
j�}|jr�|j
|�r�tdj|j	���q�n|js�|dks�td��|js�|j|�|gdfSy|j|j�}Wntk
rd}nX|dkoT|oT|joT|j|jkoT|jj|jjk}|r~tdj|||j���n|s�|j|�|g|fS|js�|jr�g|fS|jo�|jo�|jj|jjk}|rtdj|j���nt|_|jr%t|_nttt|j�t|j�B��|_tj d||j�|g|fS(s&Add install_req as a requirement to install.

        :param parent_req_name: The name of the requirement that needed this
            added. The name is used because when multiple unnamed requirements
            resolve to the same name, we could otherwise end up with dependency
            links that point outside the Requirements set. parent_req must
            already be added. Note that None implies that this is a user
            supplied requirement, vs an inferred one.
        :param extras_requested: an iterable of extras used to evaluate the
            environment markers.
        :return: Additional requirements to scan. That is either [] if
            the requirement is not applicable, or [install_req] if the
            requirement is applicable and has just been added.
        s6Ignoring %s: markers '%s' don't match your environments-{} is not a supported wheel on this platform.s+a user supplied req shouldn't have a parents7Double requirement given: {} (already in {}, name={!r})shCould not satisfy constraints for '{}': installation from path or url cannot be constrained to a versionsSetting %s extras to: %sN(!t
match_markerstloggertinfoRtmarkerstNonetlinktis_wheelRtfilenameRt
get_supportedRt	supportedRR#t
user_suppliedR)R,tget_requirementtKeyErrort
constrainttextrasRt	specifierR.tpathtFalsetTruettupleRtsettdebug(	RR+tparent_req_nametextras_requestedtwheelttagstexisting_reqthas_conflicting_requirementtdoes_not_satisfy_constraint((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pytadd_requirementCsh
		







				%
cC@s*t|�}||jko)|j|jS(N(RRR<(RRR-((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pythas_requirement�scC@sBt|�}||jkr&|j|Stdjt����dS(Ns!No project with the name {name!r}(RRR;R#tlocals(RRR-((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pyR:�scC@s|jt|jj��S(N(RtlistRR(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/req/req_set.pytall_requirements�sN(R%t
__module__RARRR(R,R.R3RLRMR:tpropertyRP(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pyR
s
				
o				(t
__future__RtloggingtcollectionsRtpip._vendor.packaging.utilsRtpip._internal.exceptionsRtpip._internal.models.wheelRtpip._internal.utilsRtpip._internal.utils.typingRttypingRRR	R
Rtpip._internal.req.req_installRt	getLoggerR%R0tobjectR
(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/req/req_set.pyt<module>s(

?>