def get_python_long_version(path):
    ver = python_query("import sys; print('%d.%d.%d' % "
                       "(sys.version_info.major, sys.version_info.minor,"
                       "sys.version_info.micro))", path)
    if re.match(r'([0-9]*)\.([0-9]*)\.([0-9]*)', ver) is None:
        ver = None
    return ver


# =============================================================================
# Patch chebang line (courtesy of Christoph Gohlke)
# =============================================================================
Return long version (X.Y.Z) for the Python distribution located in
dataset/ETHPy150Open winpython/winpython/winpython/utils.py/get_python_long_version