837
837
def xdg_cache_dir():
838
# XXX: this should probably look at some environment variables too?
839
return osutils.pathjoin(os.path.expanduser('~'),
838
# See http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
839
# Possibly this should be different on Windows?
840
e = os.environ.get('XDG_CACHE_DIR', None)
844
return os.path.expanduser('~/.cache')
843
847
def _auto_user_id():