From charlesreid1

No edit summary
No edit summary
 
Line 17: Line 17:
[[Category:Config]]
[[Category:Config]]
[[Category:Python]]
[[Category:Python]]
[[Category:Python Package]]
[[Category:Python Packaging]]

Latest revision as of 15:45, 15 November 2018

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Summary:

The XDG Base Directory Specification is based on the following concepts:

  • user-specific data files should be written to location specified by environment variable $XDG_DATA_HOM
  • user-specific configuration files should be written to location specified by $XDG_CONFIG_HOME.
  • ordered base directories relative to which data files should be searched is location specified by $XDG_DATA_DIRS.
  • ordered base directories relative to which configuration files should be searched should be written to location specified by $XDG_CONFIG_DIRS.
  • user-specific non-essential (cached) data should be written to location specified by $XDG_CACHE_HOME.
  • user-specific runtime files and other file objects should be placed in location specified by $XDG_RUNTIME_DIR.