parameters: (kind="local")
docstring: Get the filename of the distutils, local, global, or per-user config
  
      `kind` must be one of "local", "global", or "user"
docstring_summary: Get the filename of the distutils, local, global, or per-user config
docstring_tokens: Get the filename of the distutils local global or per - user config
function: 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
      )
function_tokens: def config_file ( kind = "local" ) : 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 )