def split_version(version):
if re.match("<STR_LIT>", version):<EOL><INDENT>return [version]<EOL><DEDENT>return [int(i) for i in version.split("<STR_LIT:.>")]<EOL>
Split version to a list of integers
that can be easily compared.

:param version: Release version
:type version: str
:rtype: [int] or [string]