#NEWLINE# def build_package_data( self ) : #NEWLINE# #INDENT# 'Copy data files into build directory' #NEWLINE# for ( package , src_dir , build_dir , filenames ) in self . data_files : #NEWLINE# #INDENT# for filename in filenames : #NEWLINE# #INDENT# target = os . path . join ( build_dir , filename ) #NEWLINE# self . mkpath ( os . path . dirname ( target ) ) #NEWLINE# srcfile = os . path . join ( src_dir , filename ) #NEWLINE# ( outf , copied ) = self . copy_file ( srcfile , target ) #NEWLINE# srcfile = os . path . abspath ( srcfile ) #NEWLINE# if ( copied and ( srcfile in self . distribution . convert_2to3_doctests ) ) : #NEWLINE# #INDENT# self . __doctests_2to3 . append ( outf )