def extract_version():
with open('<STR_LIT>', '<STR_LIT:r>') as f:<EOL><INDENT>content = f.read()<EOL><DEDENT>version_match = _version_re.search(content)<EOL>version = str(ast.literal_eval(version_match.group(<NUM_LIT:1>)))<EOL>return version<EOL>
Extract the version from the package.