#NEWLINE# def finalize_package_data( self ) : #NEWLINE# #INDENT# if ( self . license is None ) : #NEWLINE# #INDENT# for attempt in ( 'License' , 'COPYING' ) : #NEWLINE# #INDENT# self . license = pkg . try_exts ( attempt , exts = pkg . TEXT_EXTS ) #NEWLINE# if ( self . license is not None ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if ( self . readme is None ) : #NEWLINE# #INDENT# self . readme = pkg . try_exts ( 'ReadMe' , exts = pkg . TEXT_EXTS ) #NEWLINE# #UNINDENT# if ( self . welcome is None ) : #NEWLINE# #INDENT# self . welcome = pkg . try_exts ( 'Welcome' , exts = pkg . TEXT_EXTS ) #NEWLINE# #UNINDENT# if ( self . background is None ) : #NEWLINE# #INDENT# self . background = pkg . try_exts ( 'background' , exts = pkg . IMAGE_EXTS ) #NEWLINE# #UNINDENT# if ( self . template is None ) : #NEWLINE# #INDENT# if ( self . macosx_version < '10.3' ) : #NEWLINE# #INDENT# self . template = 'prepanther' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . template = 'postjaguar' #NEWLINE# #UNINDENT# #UNINDENT# self . metapackagename = ( self . get_fullplatname ( ) + '.mpkg' ) #NEWLINE# self . pseudoinstall_root = self . get_pseudoinstall_root ( ) #NEWLINE# self . packagesdir = os . path . join ( self . get_metapackage ( ) , self . component_directory )