Nameclash with other xdg library
This library installs into the same directory as xdg
(https://pypi.org/project/xdg/ (and https://github.com/srstevenson/xdg/).
There are many situations, when this can become a problem. Some are:
- One package requests
pyxdg
and the otherxdg
. If installed withpip
, the later overwrites thexdg/__init__.py
file. - Having installed both and uninstalling one of it, the
xdg/__init__.py
file is removed (making other packages throwing an error, e.g. https://github.com/spyder-ide/spyder/issues/16448)
It would be great, if either:
- both packages can cohabit in the same installation, or at least
- a warning is issued, that those packages are incompatible
A change of installation directory was declined by the maintainer of xdg
: https://github.com/srstevenson/xdg/issues/35, suggesting that pyxdg
should install into the pyxdg
directory. (See also https://github.com/srstevenson/xdg/issues/10.)
There is also the suggestion of #19 (closed).
Unfortunately we (as users) are in the situation, where one package (the first kid on the block) installs into a different directory than its name suggests, which probably led the newcomer to use the same directory (and claiming, that the other should rename the directory). Would it be possible that you and the maintainer of xdg
put your heads together to find a solution? Thanks!
PS: The corresponding bug report for xdg
is here: https://github.com/srstevenson/xdg/issues/75