$77 GRAYBYTE WORDPRESS FILE MANAGER $83

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib64/python3.7/distutils/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/distutils/__pycache__//versionpredicate.cpython-37.pyc
B

� f
�@s�dZddlZddlZddlZe�dej�Ze�d�Ze�d�Z	dd�Z
ejejej
ejejejd�ZGd	d
�d
�Zdadd�ZdS)
zBModule for parsing and testing package version predicate strings.
�Nz'(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)z^\s*\((.*)\)\s*$z%^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$cCs6t�|�}|std|��|��\}}|tj�|�fS)zVParse a single version comparison.

    Return (comparison string, StrictVersion)
    z"bad package restriction syntax: %r)�re_splitComparison�match�
ValueError�groups�	distutils�version�
StrictVersion)�predZres�compZverStr�r�?/opt/alt/python37/lib64/python3.7/distutils/versionpredicate.py�splitUps

r
)�<z<=z==�>z>=z!=c@s(eZdZdZdd�Zdd�Zdd�ZdS)	�VersionPredicatea�Parse and test package version predicates.

    >>> v = VersionPredicate('pyepat.abc (>1.0, <3333.3a1, !=1555.1b3)')

    The `name` attribute provides the full dotted name that is given::

    >>> v.name
    'pyepat.abc'

    The str() of a `VersionPredicate` provides a normalized
    human-readable version of the expression::

    >>> print(v)
    pyepat.abc (> 1.0, < 3333.3a1, != 1555.1b3)

    The `satisfied_by()` method can be used to determine with a given
    version number is included in the set described by the version
    restrictions::

    >>> v.satisfied_by('1.1')
    True
    >>> v.satisfied_by('1.4')
    True
    >>> v.satisfied_by('1.0')
    False
    >>> v.satisfied_by('4444.4')
    False
    >>> v.satisfied_by('1555.1b3')
    False

    `VersionPredicate` is flexible in accepting extra whitespace::

    >>> v = VersionPredicate(' pat( ==  0.1  )  ')
    >>> v.name
    'pat'
    >>> v.satisfied_by('0.1')
    True
    >>> v.satisfied_by('0.2')
    False

    If any version numbers passed in do not conform to the
    restrictions of `StrictVersion`, a `ValueError` is raised::

    >>> v = VersionPredicate('p1.p2.p3.p4(>=1.0, <=1.3a1, !=1.2zb3)')
    Traceback (most recent call last):
      ...
    ValueError: invalid version number '1.2zb3'

    It the module or package name given does not conform to what's
    allowed as a legal module or package name, `ValueError` is
    raised::

    >>> v = VersionPredicate('foo-bar')
    Traceback (most recent call last):
      ...
    ValueError: expected parenthesized list: '-bar'

    >>> v = VersionPredicate('foo bar (12.21)')
    Traceback (most recent call last):
      ...
    ValueError: expected parenthesized list: 'bar (12.21)'

    cCs�|��}|std��t�|�}|s.td|��|��\|_}|��}|r�t�|�}|sbtd|��|��d}dd�|�d�D�|_|js�td|��ng|_d	S)
z*Parse a version predicate string.
        zempty package restrictionzbad package name in %rzexpected parenthesized list: %rrcSsg|]}t|��qSr)r
)�.0ZaPredrrr�
<listcomp>tsz-VersionPredicate.__init__.<locals>.<listcomp>�,zempty parenthesized list in %rN)	�stripr�re_validPackagerr�name�re_paren�splitr	)�selfZversionPredicateStrrZparen�strrrr�__init__`s$


zVersionPredicate.__init__cCs8|jr.dd�|jD�}|jdd�|�dS|jSdS)NcSs g|]\}}|dt|��qS)� )r)r�cond�verrrrr}sz,VersionPredicate.__str__.<locals>.<listcomp>z (z, �))r	r�join)r�seqrrr�__str__{szVersionPredicate.__str__cCs*x$|jD]\}}t|||�sdSqWdS)z�True if version is compatible with all the predicates in self.
        The parameter version must be acceptable to the StrictVersion
        constructor.  It may be either a string or StrictVersion.
        FT)r	�compmap)rrrrrrr�satisfied_by�szVersionPredicate.satisfied_byN)�__name__�
__module__�__qualname__�__doc__rr"r$rrrrrs?rcCsdtdkrt�dtj�a|��}t�|�}|s8td|��|�d�pDd}|rVtj	�
|�}|�d�|fS)a9Return the name and optional version number of a provision.

    The version number, if given, will be returned as a `StrictVersion`
    instance, otherwise it will be `None`.

    >>> split_provision('mypkg')
    ('mypkg', None)
    >>> split_provision(' mypkg( 1.2 ) ')
    ('mypkg', StrictVersion ('1.2'))
    Nz=([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(?:\s*\(\s*([^)\s]+)\s*\))?$z"illegal provides specification: %r��)�
_provision_rx�re�compile�ASCIIrrr�grouprrr)�value�mrrrr�split_provision�s
r2)r(r,Zdistutils.versionr�operatorr-r.rrrr
�lt�le�eq�gt�ge�ner#rr+r2rrrr�<module>s

n


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.34 AM
root / linksafe
0755
__init__.cpython-37.opt-1.pyc
0.386 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
__init__.cpython-37.opt-2.pyc
0.208 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
__init__.cpython-37.pyc
0.386 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
_msvccompiler.cpython-37.opt-1.pyc
12.279 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
_msvccompiler.cpython-37.opt-2.pyc
11.159 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
_msvccompiler.cpython-37.pyc
12.341 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
archive_util.cpython-37.opt-1.pyc
6.376 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
archive_util.cpython-37.opt-2.pyc
4.383 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
archive_util.cpython-37.pyc
6.376 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bcppcompiler.cpython-37.opt-1.pyc
6.346 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bcppcompiler.cpython-37.opt-2.pyc
6.064 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
bcppcompiler.cpython-37.pyc
6.346 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
ccompiler.cpython-37.opt-1.pyc
32.328 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
ccompiler.cpython-37.opt-2.pyc
16.361 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
ccompiler.cpython-37.pyc
32.452 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
cmd.cpython-37.opt-1.pyc
13.579 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
cmd.cpython-37.opt-2.pyc
7.855 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
cmd.cpython-37.pyc
13.579 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
config.cpython-37.opt-1.pyc
3.4 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
config.cpython-37.opt-2.pyc
3.019 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
config.cpython-37.pyc
3.4 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
core.cpython-37.opt-1.pyc
6.452 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
core.cpython-37.opt-2.pyc
3.145 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
core.cpython-37.pyc
6.452 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
cygwinccompiler.cpython-37.opt-1.pyc
8.325 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
cygwinccompiler.cpython-37.opt-2.pyc
6.733 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
cygwinccompiler.cpython-37.pyc
8.325 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
debug.cpython-37.opt-1.pyc
0.2 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
debug.cpython-37.opt-2.pyc
0.2 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
debug.cpython-37.pyc
0.2 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dep_util.cpython-37.opt-1.pyc
2.657 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dep_util.cpython-37.opt-2.pyc
1.247 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
dep_util.cpython-37.pyc
2.657 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dir_util.cpython-37.opt-1.pyc
5.679 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dir_util.cpython-37.opt-2.pyc
3.356 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
dir_util.cpython-37.pyc
5.679 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dist.cpython-37.opt-1.pyc
33.629 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dist.cpython-37.opt-2.pyc
24.552 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
dist.cpython-37.pyc
33.629 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
errors.cpython-37.opt-1.pyc
5.362 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
errors.cpython-37.opt-2.pyc
2.786 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
errors.cpython-37.pyc
5.362 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
extension.cpython-37.opt-1.pyc
6.74 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
extension.cpython-37.opt-2.pyc
3.332 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
extension.cpython-37.pyc
6.74 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fancy_getopt.cpython-37.opt-1.pyc
10.221 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fancy_getopt.cpython-37.opt-2.pyc
7.476 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
fancy_getopt.cpython-37.pyc
10.365 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
file_util.cpython-37.opt-1.pyc
5.762 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
file_util.cpython-37.opt-2.pyc
3.675 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
file_util.cpython-37.pyc
5.762 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
filelist.cpython-37.opt-1.pyc
9.517 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
filelist.cpython-37.opt-2.pyc
6.713 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
filelist.cpython-37.pyc
9.604 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
log.cpython-37.opt-1.pyc
2.262 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
log.cpython-37.opt-2.pyc
2.202 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
log.cpython-37.pyc
2.262 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
msvc9compiler.cpython-37.opt-1.pyc
16.915 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
msvc9compiler.cpython-37.opt-2.pyc
15.336 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
msvc9compiler.cpython-37.pyc
16.973 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
msvccompiler.cpython-37.opt-1.pyc
14.227 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
msvccompiler.cpython-37.opt-2.pyc
12.694 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
msvccompiler.cpython-37.pyc
14.227 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
spawn.cpython-37.opt-1.pyc
4.999 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
spawn.cpython-37.opt-2.pyc
3.726 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
spawn.cpython-37.pyc
4.999 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sysconfig.cpython-37.opt-1.pyc
11.777 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sysconfig.cpython-37.opt-2.pyc
8.369 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
sysconfig.cpython-37.pyc
11.777 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
text_file.cpython-37.opt-1.pyc
8.244 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
text_file.cpython-37.opt-2.pyc
3.262 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
text_file.cpython-37.pyc
8.244 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
unixccompiler.cpython-37.opt-1.pyc
6.71 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
unixccompiler.cpython-37.opt-2.pyc
6.096 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
unixccompiler.cpython-37.pyc
6.71 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
util.cpython-37.opt-1.pyc
14.744 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
util.cpython-37.opt-2.pyc
8.998 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
util.cpython-37.pyc
14.744 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
version.cpython-37.opt-1.pyc
7.137 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
version.cpython-37.opt-2.pyc
3.929 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
version.cpython-37.pyc
7.181 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
versionpredicate.cpython-37.opt-1.pyc
4.98 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
versionpredicate.cpython-37.opt-2.pyc
2.559 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
versionpredicate.cpython-37.pyc
4.98 KB
17 Apr 2024 5.36 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF