#NEWLINE# def get_version( ) : #NEWLINE# #INDENT# init_py = open ( '../pykka/__init__.py' ) . read ( ) #NEWLINE# metadata = dict ( re . findall ( "__([a-z]+)__ = '([^']+)'" , init_py ) ) #NEWLINE# return metadata [ 'version' ]