ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyc

�
x�_c@soddlmZddlmZddlmZerUddlmZmZm	Z	nde
fd��YZdS(i����(tcanonicalize_name(tCommandError(tMYPY_CHECK_RUNNING(tOptionaltSett	FrozenSett
FormatControlcBseeZdZddgZd
d
d�Zd�Zd�Zd�Ze	d��Z
d�Zd	�ZRS(sGHelper for managing formats from which a package can be installed.
    t	no_binarytonly_binarycCsF|dkrt�}n|dkr0t�}n||_||_dS(N(tNonetsetRR(tselfRR((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyt__init__s	csLt��j�stS�j�jkr,tSt��fd��jD��S(Nc3s-|]#}t�|�t�|�kVqdS(N(tgetattr(t.0tk(totherR(sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pys	<genexpr>#s(t
isinstancet	__class__tNotImplementedt	__slots__tFalsetall(RR((RRsT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyt__eq__scCs|j|�S(N(R(RR((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyt__ne__'scCsdj|jj|j|j�S(Ns
{}({}, {})(tformatRt__name__RR(R((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyt__repr__+s	cCs�|jd�rtd��n|jd�}xUd|kr�|j�|j�|jd�||jd�d4d|kr0dSq0WxP|D]H}|dkr�|j�q�nt|�}|j|�|j|�q�WdS(Nt-s7--no-binary / --only-binary option requires 1 argument.t,s:all:is:none:(t
startswithRtsplittcleartaddtindexRtdiscard(tvaluettargetRtnewtname((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pythandle_mutual_excludes3s$





cCs�ddh}||jkr+|jd�n]||jkrJ|jd�n>d|jkri|jd�nd|jkr�|jd�nt|�S(Ntbinarytsources:all:(RR#Rt	frozenset(Rtcanonical_nametresult((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pytget_allowed_formatsKscCs|jd|j|j�dS(Ns:all:(R(RR(R((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pytdisallow_binariesXsN(
Rt
__module__t__doc__RR	RRRRtstaticmethodR(R.R/(((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyR
s
	
			
N(tpip._vendor.packaging.utilsRtpip._internal.exceptionsRtpip._internal.utils.typingRttypingRRRtobjectR(((sT/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/format_control.pyt<module>s


Zerion Mini Shell 1.0