Revert "require pyxdg and pyyaml"

This reverts commit aa69c52fb26ea6f3ded399a1e2288eda716e7ee1.
require pyxdg and pyyaml