code: def getbuilddir():
      try:
          try:
              from setuptools.dist import Distribution
          except ImportError:
              from distutils.dist import Distribution
          try:
              from setuptools.command.build import build
          except ImportError:
              from distutils.command.build import build
          cmd_obj = build(Distribution())
          cmd_obj.finalize_options()
          return cmd_obj.build_platlib
      except Exception:
          return None
  
imports: import re
  import os
  import sys
  import argparse
  import unittest
label_desc: Use image node_id 2 for calling a global function with example usage: getbuilddir() and returns: cmd_obj, None