class_docstr: Don't add compiled flags to filenames of non-Python files
class_docstr_tok: ["Do","n't","add","compiled","flags","to","filenames","of","non-Python","files"]
code: def copy_tree(
      self,
      infile,
      outfile,
      preserve_mode=1,
      preserve_times=1,
      preserve_symlinks=0,
      level=1,
  ):
      assert preserve_mode and preserve_times and not preserve_symlinks
      exclude = self.get_exclusions()
  
      if not exclude:
          return orig.install_lib.copy_tree(self, infile, outfile)
  
      # Exclude namespace package __init__.py* files from the output
  
      from setuptools.archive_util import unpack_directory
      from distutils import log
  
      outfiles = []
  
      def pf(src, dst):
          if dst in exclude:
              log.warn(
                  "Skipping installation of %s (namespace package)", dst
              )
              return False
  
          log.info("copying %s -> %s", src, os.path.dirname(dst))
          outfiles.append(dst)
          return dst
  
      unpack_directory(infile, outfile, pf)
      return outfiles
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/command/install_lib.py
imports: import os
  import sys
  from itertools import product, starmap
  import distutils.command.install_lib
label_desc: Use image node_id 7 for calling the install_lib obj's underlying member method code with example usage: obj.copy_tree(infile, outfile, preserve_mode, preserve_times, preserve_symlinks, level) and returns: outfiles, orig, dst, False