@classmethod
def determine_version(cls, exe):
    output = Executable(exe)('-version', output=str, error=str)
    match = re.search('\\s*(\\d[\\d\\.]+)\\.', output)
    return (match.group(1) if match else None)
@classmethod
def determine_version(cls, exe):
    output = Executable(exe)('-version', output=str, error=str)
    match = re.search('\\s*(\\d[\\d\\.]+)\\.', output)
    return (match.group(1) if match else None)