code: def get_proj_libdirs(proj_dir: Path) -> list[str]:
      """
      This function finds the library directories
      """
      proj_libdir = os.environ.get("PROJ_LIBDIR")
      libdirs = []
      if proj_libdir is None:
          libdir_search_paths = (proj_dir / "lib", proj_dir / "lib64")
          for libdir_search_path in libdir_search_paths:
              if libdir_search_path.exists():
                  libdirs.append(str(libdir_search_path))
          if not libdirs:
              raise SystemExit(
                  "ERROR: PROJ_LIBDIR dir not found. Please set PROJ_LIBDIR."
              )
      else:
          libdirs.append(proj_libdir)
      return libdirs
  
file_path: pyproj/setup.py
imports: import os
  import platform
  import re
  import shutil
  import subprocess
  import sys
  from pathlib import Path
  from setuptools import Extension, setup
label_desc: Use image node_id 5 for calling a global function with example usage: get_proj_libdirs(proj_dir) and returns: libdirs