"""
This code wraps the vendored appdirs module to so the return values are
compatible for the current pip code base.
The intention is to rewrite current usages gradually, keeping the tests pass,
and eventually drop this after all usages are changed.
"""
return
# Use ~/Application Support/pip, if the directory exists.
=
return
# Use a Linux-like ~/.config/pip, by default.
=
=
return
return
return
# for the discussion regarding site_config_dir locations
# see <https://github.com/pypa/pip/issues/1733>
return
=
return
# Unix-y system. Look in /etc as well.
return +