code: def add_data_files(*include_dirs):
      'called from setup.py in skeleton projects'
      data_files = []
      for include_dir in include_dirs:
          for root, directories, filenames in os.walk(include_dir):
              include_files = []
              for filename in filenames:
                  # do not bring along certain files
                  if filename.endswith('.local'):
                      continue
                  include_files.append(os.path.join(root, filename))
              if include_files:
                  data_files.append((root, include_files))
      return data_filef add_data_files(*include_dirs):
      'called from setup.py in skeleton projects'
      data_files = []
      for include_dir in include_dirs:
          for root, directories, filenames in os.walk(include_dir):
              include_files = []
              for filename in filenames:
                  # do not bring along certain files
                  if filename.endswith('.local'):
                      continue
                  include_files.append(os.path.join(root, filename))
              if include_files:
                  data_files.append((root, include_files))
      return data_files
docs: called from setup.py in skeleton projects