/usr/lib/python2.6/site-packages/pkg_resources/_vendor/packaging
Edit: /usr/lib/python2.6/site-packages/pkg_resources/_vendor/packaging/specifiers.pyc (25712B)
Ñò
ÿWc @` s< d d k l Z l Z l Z d d k Z d d k Z d d k Z d d k Z d d k l Z l
Z
d d k l Z l
Z
l Z d e f d „ ƒ YZ d e
e i e ƒ f d „ ƒ YZ d
e f d „ ƒ YZ d e f d
„ ƒ YZ d „ Z d e f d „ ƒ YZ e i d ƒ Z d „ Z d „ Z d e f d „ ƒ YZ d S( i ( t absolute_importt divisiont print_functionNi ( t string_typest with_metaclass( t Versiont
LegacyVersiont parset InvalidSpecifierc B` s e Z d Z RS( sH
An invalid specifier was found, users should refer to PEP 440.
( t __name__t
__module__t __doc__( ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR s t
BaseSpecifierc B` sž e Z e i d „ ƒ Z e i d „ ƒ Z e i d „ ƒ Z e i d „ ƒ Z e i d „ ƒ Z e i
d „ ƒ Z e i d d „ ƒ Z e i d d „ ƒ Z
RS( c C` s d S( sŽ
Returns the str representation of this Specifier like object. This
should be representative of the Specifier itself.
N( ( t self( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __str__ s c C` s d S( sF
Returns a hash value for this Specifier like object.
N( ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __hash__ s c C` s d S( sq
Returns a boolean representing whether or not the two Specifier like
objects are equal.
N( ( R
t other( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __eq__$ s c C` s d S( su
Returns a boolean representing whether or not the two Specifier like
objects are not equal.
N( ( R
R ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __ne__+ s c C` s d S( sg
Returns whether or not pre-releases as a whole are allowed by this
specifier.
N( ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt prereleases2 s c C` s d S( sd
Sets whether or not pre-releases as a whole are allowed by this
specifier.
N( ( R
t value( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR 9 s c C` s d S( sR
Determines if the given item is contained within this specifier.
N( ( R
t itemR ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt contains@ s c C` s d S( s•
Takes an iterable of items and filters them so that only items which
are contained within this specifier are allowed in it.
N( ( R
t iterableR ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt filterF s N( R R
t abct abstractmethodR R R R t abstractpropertyR t settert NoneR R ( ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR s t _IndividualSpecifierc B` s¼ e Z h Z d d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z e d „ ƒ Z
e d
„ ƒ Z e d „ ƒ Z e i d „ ƒ Z d
„ Z d d „ Z d d „ Z RS( t c C` sl | i i | ƒ } | p t d i | ƒ ƒ ‚ n | i d ƒ i ƒ | i d ƒ i ƒ f | _ | | _ d S( Ns Invalid specifier: '{0}'t operatort version( t _regext searchR t formatt groupt stript _spect _prereleases( R
t specR t match( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __init__R s c C` sH | i d j o d i | i ƒ n d } d i | i i t | ƒ | ƒ S( Ns , prereleases={0!r}R s <{0}({1!r}{2})>( R( R R$ R t __class__R t str( R
t pre( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __repr___ s # c C` s d i | i Œ S( Ns {0}{1}( R$ R' ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR l s c C` s
t | i ƒ S( N( t hashR' ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR o s c C` sf t | t ƒ o. y | i | ƒ } WqV t j
o t SXn t | | i ƒ p t S| i | i j S( N( t
isinstanceR R, R t NotImplementedR' ( R
R ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR r s
c C` sf t | t ƒ o. y | i | ƒ } WqV t j
o t SXn t | | i ƒ p t S| i | i j S( N( R1 R R, R R2 R' ( R
R ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR } s
c C` s t | d i | i | ƒ ƒ S( Ns _compare_{0}( t getattrR$ t
_operators( R
t op( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt
_get_operatorˆ s c C` s* t | t t f ƒ p t | ƒ } n | S( N( R1 R R R ( R
R! ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt _coerce_version‹ s c C` s | i d S( Ni ( R' ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR s c C` s | i d S( Ni ( R' ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR! ” s c C` s | i S( N( R( ( R
( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR ˜ s c C` s
| | _ d S( N( R( ( R
R ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR œ s c C` s
| i | ƒ S( N( R ( R
R ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyt __contains__ s c C` s\ | d j o
| i } n | i | ƒ } | i o
| o t S| i | i ƒ | | i ƒ S( N( R R R7 t
is_prereleaset FalseR6 R R! ( R
R R ( ( sN /tmp/pip-build-iUCeBS/setuptools/pkg_resources/_vendor/packaging/specifiers.pyR £ s
c c` sÉ t } g } h | d j o | n t d 6} xl | D]d } | i | ƒ } | i | | o<