ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/
Upload File :
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pyc

�
Bu�_c@@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((sJ/opt/alt/python36/lib/python3.6/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((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pys	<genexpr>$stkeycS@s
t|j�S(N(Rtname(R((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pyt<lambda>%st cs@s|]}t|j�VqdS(N(tstrR(RR((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pys	<genexpr>'s(tsortedRtvaluestjoin(RR((sJ/opt/alt/python36/lib/python3.6/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((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pyR-ss4<{classname} object; {count} requirement(s): {reqs}>t	classnametcounttreqss, cs@s|]}t|j�VqdS(N(RR(RR((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pys	<genexpr>4s(RRRtformatt	__class__t__name__tlenR(RRt
format_string((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pyt__repr__)s	cC@s$|jst�|jj|�dS(N(RtAssertionErrorRtappend(Rtinstall_req((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pytadd_unnamed_requirement7scC@s/|jst�t|j�}||j|<dS(N(RR(RR(RR*tproject_name((sJ/opt/alt/python36/lib/python3.6/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((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pytadd_requirementCsh
		







				%
cC@s*t|�}||jko)|j|jS(N(RRR;(RRR,((sJ/opt/alt/python36/lib/python3.6/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,((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pyR9�scC@s|jt|jj��S(N(RtlistRR(R((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pytall_requirements�sN(R$t
__module__R@RRR'R+R-R2RKRLR9tpropertyRO(((sJ/opt/alt/python36/lib/python3.6/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$R/tobjectR
(((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_set.pyt<module>s(

Zerion Mini Shell 1.0