class_docstr: Smart sdist that finds anything supported by revision control
class_docstr_tok: ["Smart","sdist","that","finds","anything","supported","by","revision","control"]
code: def run(self):
      self.run_command("egg_info")
      ei_cmd = self.get_finalized_command("egg_info")
      self.filelist = ei_cmd.filelist
      self.filelist.append(os.path.join(ei_cmd.egg_info, "SOURCES.txt"))
      self.check_readme()
  
      # Run sub commands
      for cmd_name in self.get_sub_commands():
          self.run_command(cmd_name)
  
      self.make_distribution()
  
      dist_files = getattr(self.distribution, "dist_files", [])
      for file in self.archive_files:
          data = ("sdist", "", file)
          if data not in dist_files:
              dist_files.append(data)
  
imports: from distutils import log
  import distutils.command.sdist
  import os
  import sys
  import contextlib
  from itertools import chain
  from .._importlib import metadata
  from .build import _ORIGINAL_SUBCOMMANDS
label_desc: Use image node_id 1 for calling the sdist obj's underlying member method code with example usage: obj.run() without return types