nhoffman / mkvenv

A wrapper for virtualenv, pip, and wheel
3 stars 1 forks source link

use standard xdg cache locations instead of polluting home #1

Closed RonnyPfannschmidt closed 4 years ago

RonnyPfannschmidt commented 9 years ago

its good practice to use ~/.cache/

nhoffman commented 9 years ago

Thanks for the comment. I'd like to learn more about this - in my experience (admittedly limited to OS X and ubuntu) the vast majority of applications store data in $HOME as hidden directories. Is the XDG standard frequently respected outside of freedesktop.org projects?

RonnyPfannschmidt commented 9 years ago

bascially all "nice" programs follow it

nhoffman commented 9 years ago

Seems like a good approach would be to follow conventions used by pip itself - in 'pip/locations.py', looks like assets are stored under site.USER_SITE. I really don't want to have to reimplement the xdg standard in a system-independent way, and don't want to introduce a dependency like PyXDG. Suggestions and pull requests are welcome. Marked as an enhancement. For now, wheels are saved to '~/.mkvenv'

RonnyPfannschmidt commented 4 years ago

closing to get if off my plate on github