[Python-ideas] Add appdirs module to stdlib

Donald Stufft donald at stufft.io
Tue Sep 1 23:12:28 CEST 2015

On September 1, 2015 at 5:05:14 PM, Paul Moore (p.f.moore at gmail.com) wrote:
> On 1 September 2015 at 17:19, John Wong wrote:
> > But is appdirs only useful if you are running something that's more toward
> > system package / desktop application? A lot of projects today create their
> > own directory to save data, many use $HOME/DOTCUSTOM_DIR. So the use case of
> > appdirs should be addressed.
> But that is not appropriate on Windows. Appdirs gives the above on
> Unix, but %APPDATA%\Appname on Windows, which conforms properly to
> platform standards.

I forget why, but we forked appdirs when we added it to pip because of something about how it treated Windows think. Appdirs also is opinionated in situations that there isn’t a platform standard so we’d want to make sure that we agree with those opinions on all platforms.

I’m +1 on it though.

Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

More information about the Python-ideas mailing list