ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyc

�
x�_c@s�ddlmZddlmZddlmZer�ddlmZmZm	Z	m
Z
mZmZm
Z
mZddlmZmZddlmZndefd	��YZd
S(i����(tAbstractProvider(tMYPY_CHECK_RUNNINGi(t
Constraint(tAnytDicttIterabletOptionaltSequencetSettTupletUnion(tRequirementt	Candidate(tFactorytPipProvidercBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs1||_||_||_||_||_dS(N(t_factoryt_constraintst_ignore_dependenciest_upgrade_strategyt_user_requested(tselftfactorytconstraintstignore_dependenciestupgrade_strategytuser_requested((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyt__init__*s
					cCs|jS(N(tname(Rt
dependency((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytidentify9scCs&td�|D��}|t|�fS(Ncss!|]\}}|dk	VqdS(N(tNone(t.0t_tparent((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pys	<genexpr>Ds(talltbool(Rt
resolutiont
candidatestinformationt
transitive((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytget_preference=scs^|s
gS|dj}�fd�}�jj|d�jj|tj��d||��S(Nics3�jdkrtS�jdkr/|�jkStS(s�Are upgrades allowed for this project?

            This checks the upgrade strategy, and whether the project was one
            that the user specified in the command line, in order to decide
            whether we should upgrade if there's a newer version available.

            (Note that we don't need access to the `--upgrade` flag, because
            an upgrade strategy of "to-satisfy-only" means that `--upgrade`
            was not specified).
            teagersonly-if-needed(RtTrueRtFalse(R(R(s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyt_eligible_for_upgradeMs

t
constrainttprefers_installed(RRtfind_candidatesRtgetRtempty(RtrequirementsRR,((Rs]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytfind_matchesGs
	cCs
|j|�S(N(tis_satisfied_by(Rtrequirementt	candidate((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyR4escCs6|j}g|j|�D]}|dk	r|^qS(N(Rtiter_dependenciesR(RR6t
with_requirestr((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytget_dependenciesis
(t__name__t
__module__RRR(R3R4R:(((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyR)s			
		N(t pip._vendor.resolvelib.providersRtpip._internal.utils.typingRtbaseRttypingRRRRRRR	R
RRRR
R(((s]/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyt<module>s:

Zerion Mini Shell 1.0