#NEWLINE# def _get_data_files( self ) : #NEWLINE# #INDENT# "Generate list of '(package,src_dir,build_dir,filenames)' tuples" #NEWLINE# self . analyze_manifest ( ) #NEWLINE# data = [ ] #NEWLINE# for package in ( self . packages or ( ) ) : #NEWLINE# #INDENT# src_dir = self . get_package_dir ( package ) #NEWLINE# build_dir = os . path . join ( * ( [ self . build_lib ] + package . split ( '.' ) ) ) #NEWLINE# plen = ( len ( src_dir ) + 1 ) #NEWLINE# filenames = [ file [ plen : ] for file in self . find_data_files ( package , src_dir ) ] #NEWLINE# data . append ( ( package , src_dir , build_dir , filenames ) ) #NEWLINE# #UNINDENT# return data