summaryrefslogtreecommitdiff
path: root/tests/testing
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-07-06 08:46:33 +0200
committerKali Kaneko <kali@leap.se>2016-07-11 16:41:53 +0200
commit40e5d40c7c725709ac3fd770e6070fbe02e4b7e0 (patch)
treef8e1c22b4a7ebe12fd35a9fc44d7e65b4e2aa3fd /tests/testing
parent7e90eed551bbe847201e5c62edcf0e6493ab2ec3 (diff)
[pkg] remove dependency on dirspec
This commit removes the dep introduced in 5e12233 by just importing some tiny bit of dirspec code. The previous change was introduced because: * pyxdg did not account for Mac OS specifics, i.e. using ~/Library/ directory structure instead of .config (see: https://leap.se/code/issues/3574). * dirspec does the correct thing for xdg on Mac OS. * u1db depends on dirspec anyway. The problem is that dirspec is not maintained and published on pypi, what forces us to download it from an URL and add exceptions to be able to pip install it. As we are removing dependence on u1db on other modules, we can also remove it here. To workaround the Mac OS problem, we just add some code from dirspec to ensure we get the correct directory on Mac OS.
Diffstat (limited to 'tests/testing')
0 files changed, 0 insertions, 0 deletions