code: def assert_relative(path):
      if not os.path.isabs(path):
          return path
      from distutils.errors import DistutilsSetupError
  
      msg = (
          textwrap.dedent(
              """
          Error: setup script specifies an absolute path:
  
              %s
  
          setup() arguments must *always* be /-separated paths relative to the
          setup.py directory, *never* absolute paths.
          """
          ).lstrip()
          % path
      )
      raise DistutilsSetupError(msg)
  
imports: from functools import partial
  from glob import glob
  from distutils.util import convert_path
  import distutils.command.build_py
  import os
  import fnmatch
  import textwrap
  import distutils.errors
  import itertools
  import stat
  from pathlib import Path
  from typing import Dict, Iterable, Iterator, List, Optional, Tuple
  from ..extern.more_itertools import unique_everseen
  from ..warnings import SetuptoolsDeprecationWarning
label_desc: Use image node_id 2 for calling a global function with example usage: assert_relative(path) and returns: path