code: def main():
      global _LAUNCHPAD_WORKSPACE_ROOT
      global _LAUNCHPAD_BAZELRC
  
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--workspace",
          type=str,
          default=os.path.abspath(os.path.dirname(__file__)),
          help="The absolute path to your active Bazel workspace.",
      )
      args = parser.parse_args()
  
      _LAUNCHPAD_WORKSPACE_ROOT = args.workspace
      _LAUNCHPAD_BAZELRC = os.path.join(
          _LAUNCHPAD_WORKSPACE_ROOT, _LAUNCHPAD_BAZELRC_FILENAME
      )
  
      # Make a copy of os.environ to be clear when functions and getting and setting
      # environment variables.
      environ_cp = dict(os.environ)
  
      reset_configure_bazelrc()
      setup_python(environ_cp)
  
file_path: launchpad/configure.py
imports: import argparse
  import os
  import subprocess
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types