code: def config_file(kind="local"):
      """Get the filename of the distutils, local, global, or per-user config
  
      `kind` must be one of "local", "global", or "user"
      """
      if kind == "local":
          return "setup.cfg"
      if kind == "global":
          return os.path.join(
              os.path.dirname(distutils.__file__), "distutils.cfg"
          )
      if kind == "user":
          dot = os.name == "posix" and "." or ""
          return os.path.expanduser(
              convert_path("~/%spydistutils.cfg" % dot)
          )
      raise ValueError(
          "config_file() type must be 'local', 'global', or 'user'",
          kind,
      )
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/command/setopt.py
imports: from distutils.util import convert_path
  from distutils import log
  from distutils.errors import DistutilsOptionError
  import distutils
  import os
  from setuptools.extern.six.moves import configparser
  from setuptools import Command
label_desc: Use image node_id 1 for calling a global function with example usage: config_file(kind) and returns: str, os, os