An implementation of the XDG Base Directory Specification in Python
The encoding of README.rst
is now specified when it is opened in setup.py
, to resolve an issue encountered when installing xdg
with Nix.
With this patch release, xdg
now builds paths using the value of $HOME
instead of ~
.
This major release of xdg
drops support for Python 2.
With this major release, xdg
now uses platform native directory separators; /
on POSIX and \\
on Windows. The XDG specification doesn't say anything about the portability of directory separators, but this change makes xdg
more useful on Windows.