#NEWLINE# def find_version( * file_paths ) : #NEWLINE# #INDENT# version_file = read ( * version_file ) #NEWLINE# version_match = re . search ( '^__version__ = [\'\\"]([^\'\\"]*)[\'\\"]' , version_file , re . M ) #NEWLINE# if version_match : #NEWLINE# #INDENT# return version_match . group ( 1 ) #NEWLINE# #UNINDENT# raise RuntimeError ( 'Unable to find version string.' )