docstr: Sets the install directories by applying the install schemes.
code: def select_scheme(self, name):
      """Sets the install directories by applying the install schemes."""
      # it's the caller's problem if they supply a bad name!
      scheme = INSTALL_SCHEMES[name]
      for key in SCHEME_KEYS:
          attrname = "install_" + key
          if getattr(self, attrname) is None:
              setattr(self, attrname, scheme[key])
  
imports: import sys
  import sysconfig
  import os
  import re
  from distutils import log
  from distutils.core import Command
  from distutils.debug import DEBUG
  from distutils.sysconfig import get_config_vars
  from distutils.errors import DistutilsPlatformError
  from distutils.file_util import write_file
  from distutils.util import convert_path, subst_vars, change_root
  from distutils.util import get_platform
  from distutils.errors import DistutilsOptionError
  from site import USER_BASE
  from site import USER_SITE
label_desc: Use image node_id 6 for calling the install obj's underlying member method code with example usage: obj.select_scheme(name) without return types