code: def build():
      if os.path.exists(build_directory):
          raise ValueError(
              f"Directory already exists: {build_directory}"
          )
  
      whl_path = None
      try:
          # Copy sources (`keras_tuner/` directory and setup files) to build
          # directory
          os.mkdir(build_directory)
          shutil.copytree(
              package,
              os.path.join(build_directory, package),
              ignore=ignore_files,
          )
          for fname in to_copy:
              shutil.copy(
                  fname, os.path.join(f"{build_directory}", fname)
              )
          os.chdir(build_directory)
  
          # Restructure the codebase so that source files live in
          # `keras_tuner/src`
          namex.convert_codebase(package, code_directory="src")
  
          # Generate API __init__.py files in `keras_tuner/`
          namex.generate_api_files(
              package, code_directory="src", verbose=True
          )
  
          # Make sure to export the __version__ string
          from keras_tuner.src import __version__  # noqa: E402
  
          with open(os.path.join(package, "__init__.py")) as f:
              init_contents = f.read()
          with open(os.path.join(package, "__init__.py"), "w") as f:
              f.write(
                  init_contents
                  + "\n\n"
                  + f'__version__ = "{__version__}"\n'
              )
  
          # Build the package
          os.system("python3 -m build")
  
          # Save the dist files generated by the build process
          os.chdir("..")
          if not os.path.exists(dist_directory):
              os.mkdir(dist_directory)
          for filename in glob.glob(
              os.path.join(build_directory, dist_directory, "*.*")
          ):
              shutil.copy(filename, dist_directory)
  
          # Find the .whl file path
          for fname in os.listdir(dist_directory):
              if __version__ in fname and fname.endswith(".whl"):
                  whl_path = os.path.abspath(
                      os.path.join(dist_directory, fname)
                  )
          print(f"Build successful. Wheel file available at {whl_path}")
  
      finally:
          # Clean up: remove the build directory (no longer needed)
          shutil.rmtree(build_directory)
      return whl_path
  
file_path: keras-tuner/pip_build.py
imports: import argparse
  import glob
  import os
  import shutil
  import namex
label_desc: Use image node_id 2 for calling a global function with example usage: build() and returns: whl_path