From 45e63e68385efdf029dac643f2f4a758405708f4 Mon Sep 17 00:00:00 2001 From: Andrew Rogl Date: Fri, 7 May 2021 22:30:14 +1000 Subject: [PATCH] fix up setup --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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',