code: def get_proj_incdirs(proj_dir: Path) -> list[str]:
      """
      This function finds the include directories
      """
      proj_incdir = os.environ.get("PROJ_INCDIR")
      incdirs = []
      if proj_incdir is None:
          if (proj_dir / "include").exists():
              incdirs.append(str(proj_dir / "include"))
          else:
              raise SystemExit(
                  "ERROR: PROJ_INCDIR dir not found. Please set PROJ_INCDIR."
              )
      else:
          incdirs.append(proj_incdir)
      return incdirs
  
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 6 for calling a global function with example usage: get_proj_incdirs(proj_dir) and returns: incdirs