def get_sdk_version(self):
name = '<STR_LIT>'<EOL>path = os.path.join(self.tool_dir, name)<EOL>batch = read_file(path)<EOL>if not batch:<EOL><INDENT>raise RuntimeError(_('<STR_LIT>'))<EOL><DEDENT>regex = r'<STR_LIT>'<EOL>try:<EOL><INDENT>version = re.search(regex, batch).group()<EOL><DEDENT>except AttributeError:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>logging.debug(_('<STR_LIT>'), version)<EOL>return version<EOL><DEDENT>
Get the version of Windows SDK
        from VCVarsQueryRegistry.bat.