(pred)
return (comp, distutils.version.StrictVersion(verStr))
Parse a single version comparison.

    Return (comparison string, StrictVersion)
Parse a single version comparison.
Parse a single version comparison .
def splitUp(pred):
    """Parse a single version comparison.

    Return (comparison string, StrictVersion)
    """
    res = re_splitComparison.match(pred)
    if not res:
        raise ValueError("bad package restriction syntax: %r" % pred)
    comp, verStr = res.groups()
    return (comp, distutils.version.StrictVersion(verStr))
def splitUp ( pred ) : res = re_splitComparison . match ( pred ) if not res : raise ValueError ( "bad package restriction syntax: %r" % pred ) comp , verStr = res . groups ( ) return ( comp , distutils . version . StrictVersion ( verStr ) )