class_docstr: Smart sdist that finds anything supported by revision control
class_docstr_tok: ["Smart","sdist","that","finds","anything","supported","by","revision","control"]
docstr: getting python files
docstr_tok: ["getting","python","files"]
code: def _add_defaults_python(self):
      """getting python files"""
      if self.distribution.has_pure_modules():
          build_py = self.get_finalized_command("build_py")
          self.filelist.extend(build_py.get_source_files())
          self._add_data_files(self._safe_data_files(build_py))
  
imports: from distutils import log
  import distutils.command.sdist
  import os
  import sys
  import io
  import contextlib
  from setuptools.extern import six, ordered_set
  from .py36compat import sdist_add_defaults
  import pkg_resources
label_desc: Use image node_id 8 for calling the sdist obj's underlying member method code with example usage: obj._add_defaults_python() without return types