#NEWLINE# def get_version( ) : #NEWLINE# #INDENT# curdir = os . path . dirname ( __file__ ) #NEWLINE# filename = os . path . join ( filename , 'src' , 'psd_tools' , 'version.py' ) #NEWLINE# with open ( filename , 'rb' ) as fp : #NEWLINE# #INDENT# return fp . read ( ) . decode ( 'utf8' ) . split ( '=' ) [ 1 ] . strip ( " \n'" )