ok
Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyo |
� x�_c @ s� d d l m Z d d l m Z d d l m Z m Z e ru d d l m Z d d l m Z d d l m Z m Z n d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i����( t canonicalize_name( t MYPY_CHECK_RUNNINGi ( t Requirementt format_name( t SpecifierSet( t InstallRequirement( t Candidatet CandidateLookupt ExplicitRequirementc B sD e Z d � Z d � Z e d � � Z d � Z d � Z d � Z RS( c C s | | _ d S( N( t candidate( t selfR ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyt __init__ s c C s d j d | j j d | j � S( Ns {class_name}({candidate!r})t class_nameR ( t formatt __class__t __name__R ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyt __repr__ s c C s | j j S( N( R t name( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR s c C s | j j � S( N( R t format_for_error( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR ! s c C s | j d f S( N( R t None( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyt get_candidate_lookup% s c C s | | j k S( N( R ( R R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyt is_satisfied_by) s ( R t __module__R R t propertyR R R R ( ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR s t SpecifierRequirementc B sM e Z d � Z d � Z d � Z e d � � Z d � Z d � Z d � Z RS( c C s | | _ t | j � | _ d S( N( t _ireqt frozensett extrast _extras( R t ireq( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR / s c C s t | j j � S( N( t strR t req( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyt __str__5 s c C s( d j d | j j d t | j j � � S( Ns {class_name}({requirement!r})R t requirement( R R R R R R ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR 9 s c C s% t | j j j � } t | | j � S( N( R R R R R R ( R t canonical_name( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR @ s c C s{ g t | � j d � D] } | j � ^ q } t | � d k rD d St | � d k r^ | d Sd j | d � d | d S( Nt ,i t i s , i����s and ( R t splitt stript lent join( R t st parts( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR F s .c C s d | j f S( N( R R ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR U s c C s% | j j j } | j | j d t �S( Nt prereleases( R R t specifiert containst versiont True( R R t spec( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR Y s ( R R R R R R R R R R ( ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR . s t RequiresPythonRequirementc B sJ e Z d Z d � Z d � Z e d � � Z d � Z d � Z d � Z RS( s9 A requirement representing Requires-Python metadata. c C s | | _ | | _ d S( N( R, t _candidate( R R, t match( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR h s c C s% d j d | j j d t | j � � S( Ns {class_name}({specifier!r})R R, ( R R R R R, ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR m s c C s | j j S( N( R2 R ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR t s c C s d t | j � S( Ns Python ( R R, ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR y s c C s/ | j j | j j d t �r+ | j d f Sd S( NR+ ( NN( R, R- R2 R. R/ R ( R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR } s c C s | j j | j d t �S( NR+ ( R, R- R. R/ ( R R ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR � s ( R R t __doc__R R R R R R R ( ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyR1 e s N( t pip._vendor.packaging.utilsR t pip._internal.utils.typingR t baseR R t pip._vendor.packaging.specifiersR t pip._internal.req.req_installR R R R R R1 ( ( ( sa /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/requirements.pyt <module> s 7