tox-dev / platformdirs

A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
https://platformdirs.readthedocs.io
MIT License
568 stars 49 forks source link

platformdirs: introduce `site_runtime_dir` #212

Closed kemzeb closed 1 year ago

kemzeb commented 1 year ago

Resolves #188 (though it mentions another feature which I think should just be a separate issue).

Though it seemed straightforward for Unix, I had trouble finding the concept of a shared runtime directory in Android, Windows, and MacOS. As of now, I decided that they would return their user_runtime_dir path but am open to other ideas. I have been looking at the following possible paths:

MacOS

Also looked at the following discussions just for reference:

Android

Since the user_runtime_dir doesn't seem to be associated to a user, I think we could leave this alone.

Windows