From b273c04cd50bdd9880140e115ccbf6a12f63292a Mon Sep 17 00:00:00 2001 From: aaronjheng Date: Mon, 29 Aug 2016 12:02:48 +0800 Subject: remove futures from py3 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 096e8bdd4b..85da15241e 100644 --- a/setup.py +++ b/setup.py @@ -214,12 +214,14 @@ PACKAGE_DIRECTORIES = { INSTALL_REQUIRES = ( 'six>=1.5.2', 'enum34>=1.0.4', - 'futures>=2.2.0', # TODO(atash): eventually split the grpcio package into a metapackage # depending on protobuf and the runtime component (independent of protobuf) 'protobuf>=3.0.0', ) +if not PY3: + INSTALL_REQUIRES += ('futures>=2.2.0',) + SETUP_REQUIRES = INSTALL_REQUIRES + ( 'sphinx>=1.3', 'sphinx_rtd_theme>=0.1.8', -- cgit v1.2.3