def get_version(*file_paths):
filename = os.path.join(os.path.dirname(__file__), *file_paths)<EOL>version_file = open(filename).read()<EOL>version_match = re.search(r"<STR_LIT>",<EOL>version_file, re.M)<EOL>if version_match:<EOL><INDENT>return version_match.group(<NUM_LIT:1>)<EOL><DEDENT>raise RuntimeError('<STR_LIT>')<EOL>
Retrieves the version from countries_plus/__init__.py