class_docstr: Helper class to hook the python setup.py install path to download
  client libraries and engine
class_docstr_tok: ["Helper","class","to","hook","the","python","setup.py","install","path","to","download","client","libraries","and","engine"]
code: def run(self):
      if self.minimal is not None:
  
          def do_not_install(require):
              require = require.strip()
              for name in NON_MINIMAL_LIST:
                  if require.startswith(name):
                      return False
              return True
  
          install_requires_minimal = list(
              filter(do_not_install, self.distribution.install_requires)
          )
  
          orig_install_requires = self.distribution.install_requires
          self.distribution.install_requires = install_requires_minimal
  
          print(" minimal install: ", install_requires_minimal)
          print("original install: ", orig_install_requires)
  
      import platform
  
      # start by running base class implementation of run
      install.run(self)
  
      # Check correct version of architecture (64-bit only)
      arch = platform.architecture()[0]
      if arch != "64bit":
          msg = (
              "Turi Create currently supports only 64-bit operating systems, and only recent Linux/OSX "
              + "architectures. Please install using a supported version. Your architecture is currently: %s"
              % arch
          )
  
          sys.stderr.write(msg)
          sys.exit(1)
  
      # if OSX, verify >= 10.8
      from distutils.util import get_platform
      from pkg_resources import parse_version
  
      cur_platform = get_platform()
  
      if cur_platform.startswith("macosx"):
          mac_ver = platform.mac_ver()[0]
          if parse_version(mac_ver) < parse_version("10.8.0"):
              msg = (
                  "Turi Create currently does not support versions of OSX prior to 10.8. Please upgrade your Mac OSX "
                  "installation to a supported version. Your current OSX version is: %s"
                  % mac_ver
              )
              sys.stderr.write(msg)
              sys.exit(1)
      elif cur_platform.startswith("linux"):
          pass
      elif cur_platform.startswith("win"):
          win_ver = platform.version()
          # Verify this is Vista or above
          if parse_version(win_ver) < parse_version("6.0"):
              msg = (
                  "Turi Create currently does not support versions of Windows"
                  " prior to Vista, or versions of Windows Server prior to 2008."
                  "Your current version of Windows is: %s"
                  % platform.release()
              )
              sys.stderr.write(msg)
              sys.exit(1)
      else:
          msg = (
              "Unsupported Platform: '%s'. Turi Create is only supported on Windows, Mac OSX, and Linux."
              % cur_platform
          )
          sys.stderr.write(msg)
          sys.exit(1)
  
file_path: turicreate/src/python/setup.py
imports: import os
  import sys
  from setuptools import setup, find_packages, Extension
  from setuptools.dist import Distribution
  from setuptools.command.install import install
label_desc: Use image node_id 2 for calling the InstallEngine obj's underlying member method code with example usage: obj.run() and returns: True, False