Home
last modified time | relevance | path

Searched refs:StrictVersion (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/distutils/tests/
H A Dtest_version.py4 from distutils.version import StrictVersion namespace
10 version = StrictVersion('1.2.3a1')
15 version = StrictVersion('1.2.0')
37 res = StrictVersion(v1)._cmp(StrictVersion(v2))
48 res = StrictVersion(v1)._cmp(v2)
52 res = StrictVersion(v1)._cmp(object())
/third_party/python/Lib/distutils/
H A Dversion.py12 implemented: StrictVersion and LooseVersion.
93 class StrictVersion (Version): class
168 other = StrictVersion(other)
169 elif not isinstance(other, StrictVersion):
202 # end class StrictVersion
242 # been done in the StrictVersion class above. This works great as long
245 # particular flavour of bondage and discipline provided by StrictVersion
H A Dversionpredicate.py20 Return (comparison string, StrictVersion)
26 return (comp, distutils.version.StrictVersion(verStr))
73 restrictions of `StrictVersion`, a `ValueError` is raised::
101 # pred: list of (comparison string, StrictVersion)
132 The parameter version must be acceptable to the StrictVersion
133 constructor. It may be either a string or StrictVersion.
146 The version number, if given, will be returned as a `StrictVersion`
152 ('mypkg', StrictVersion ('1.2'))
165 ver = distutils.version.StrictVersion(ver)
/third_party/node/
H A Dconfigure.py17 from distutils.version import StrictVersion namespace
1608 ('gas_version' in variables and StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
1609 ('xcode_version' in variables and StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
1610 ('llvm_version' in variables and StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
1611 ('nasm_version' in variables and StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
/third_party/node/tools/gyp/pylib/gyp/
H A Dinput.py19 from distutils.version import StrictVersion namespace
1193 env = {"__builtins__": {}, "v": StrictVersion}

Completed in 8 milliseconds