code: def run(self):
      if not have_setuptools:
          r = old_install.run(self)
      else:
          r = self.setuptools_run()
      if self.record:
          # bdist_rpm fails when INSTALLED_FILES contains
          # paths with spaces. Such paths must be enclosed
          # with double-quotes.
          with open(self.record) as f:
              lines = []
              need_rewrite = False
              for l in f:
                  l = l.rstrip()
                  if " " in l:
                      need_rewrite = True
                      l = '"%s"' % (l)
                  lines.append(l)
          if need_rewrite:
              self.execute(
                  write_file,
                  (self.record, lines),
                  "re-writing list of installed files to '%s'"
                  % self.record,
              )
      return r
  
imports: import sys
  from distutils.file_util import write_file
label_desc: Use image node_id 3 for calling the install obj's underlying member method code with example usage: obj.run() and returns: r