From 1b876f1cf34dfa402ef4f779213e16fa30d4b8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 7 Feb 2019 16:31:43 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20Only=20depend=20on=20chainmap=20and?= =?UTF-8?q?=20scandir=20under=20py2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 300cbd48a..e1b79b9bb 100644 --- a/setup.py +++ b/setup.py @@ -52,9 +52,7 @@ INSTALL_REQUIRES = [ "Click>=7,<8", "awesome-slugify>=1.6.5,<1.7", "feedparser>=5.2.1,<5.3", - "chainmap>=1.0.2,<1.1", "future>=0.17,<0.18", - "scandir>=1.9,<1.10", "websocket-client>=0.53,<0.54", "python-dateutil>=2.7.5,<2.8", "wrapt>=1.10.11,<1.11", @@ -62,8 +60,18 @@ INSTALL_REQUIRES = [ "frozendict>=1.2,<1.3" ] -INSTALL_REQUIRES_PYTHON2 = ["futures>=3.2,<3.3", "monotonic>=1.5,<1.6"] -INSTALL_REQUIRES_OSX = ["appdirs>=1.4.0",] +# Python 2 specific requirements +INSTALL_REQUIRES_PYTHON2 = [ + "futures>=3.2,<3.3", + "monotonic>=1.5,<1.6", + "scandir>=1.9,<1.10", + "chainmap>=1.0.2,<1.1", +] + +# OSX specific requirements +INSTALL_REQUIRES_OSX = [ + "appdirs>=1.4.0", +] # Additional requirements for optional install options EXTRA_REQUIRES = dict(