From 6956daa41f4a9bda5d1f381cbf0f74bec6636019 Mon Sep 17 00:00:00 2001 From: Jonathan Moss Date: Fri, 3 Aug 2018 15:15:52 +1000 Subject: adding python version environmental markers in the new style --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 388e629ec2..b87843f335 100644 --- a/setup.py +++ b/setup.py @@ -276,11 +276,11 @@ PACKAGE_DIRECTORIES = { } INSTALL_REQUIRES = ( - 'six>=1.5.2', + "six>=1.5.2", + "futures>=2.2.0 ; python_version<'3.2'", + "enum34>=1.0.4 ; python_version<'3.4'" ) -if not PY3: - INSTALL_REQUIRES += ('futures>=2.2.0', 'enum34>=1.0.4') SETUP_REQUIRES = INSTALL_REQUIRES + ( 'sphinx>=1.3', -- cgit v1.2.3