diff --git a/setup.py b/setup.py index 84b391a78..8765d4b52 100755 --- a/setup.py +++ b/setup.py @@ -122,7 +122,6 @@ setup( 'responses>=0.3.0', 'requests_oauthlib', 'reflink', - 'py7zr', ] + ( # Tests for the thumbnails plugin need pathlib on Python 2 too. ['pathlib'] if (sys.version_info < (3, 4, 0)) else [] @@ -131,7 +130,9 @@ setup( ] + [ 'discogs-client' if (sys.version_info < (3, 0, 0)) else 'python3-discogs-client' - ], + ] + ( + ['py7zr'] if (sys.version_info > (3, 5, 0)) else [] + ), 'lint': [ 'flake8', 'flake8-coding',