diff --git a/setup.py b/setup.py index 5a705b982b..79278f8be1 100755 --- a/setup.py +++ b/setup.py @@ -115,10 +115,12 @@ def build_manpages(): 'rarfile', 'responses', 'pyxdg', - 'pathlib', 'python-mpd2', 'discogs-client' - ], + ] + ( + # Tests for the thumbnails plugin need pathlib on Python 2 too. + ['pathlib'] if (sys.version_info < (3, 4, 0)) else [] + ), # Plugin (optional) dependencies: extras_require={