(self)
Copy data files into build directory
Copy data files into build directory
Copy data files into build directory
def build_package_data(self):
        """Copy data files into build directory"""
        for package, src_dir, build_dir, filenames in self.data_files:
            for filename in filenames:
                target = os.path.join(build_dir, filename)
                self.mkpath(os.path.dirname(target))
                self.copy_file(os.path.join(src_dir, filename), target,
                               preserve_mode=False)
def build_package_data ( self ) : for package , src_dir , build_dir , filenames in self . data_files : for filename in filenames : target = os . path . join ( build_dir , filename ) self . mkpath ( os . path . dirname ( target ) ) self . copy_file ( os . path . join ( src_dir , filename ) , target , preserve_mode = False )