def get_version():
VERSION_FILE = '<STR_LIT>'<EOL>mo = re.search(r'<STR_LIT>', open(VERSION_FILE, '<STR_LIT>').read(), re.M)<EOL>if mo:<EOL><INDENT>return mo.group(<NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError('<STR_LIT>'.format(VERSION_FILE))<EOL><DEDENT>
Extracts the version number from the version.py file.