From 0e89c7b8f874e490064f7437c37e3fb0b7178bf2 Mon Sep 17 00:00:00 2001 From: Lise Rebout Date: Thu, 22 Aug 2019 11:34:08 -0400 Subject: [PATCH] Setting futures as requirement only for Python 2.7 to allow installation under Python 3+ --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index bac952b..8d1cefa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ wheel>=0.23.0 Cython>=0.20.2 argparse>=1.2.1 -futures>=2.1.6 +futures>=2.1.6; python_version == "2.7" six>=1.7.3 gensim>=1.0.0 scipy>=0.15.0 diff --git a/setup.py b/setup.py index 538969f..193308a 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ 'wheel>=0.23.0', 'Cython>=0.20.2', 'argparse>=1.2.1', - 'futures>=2.1.6', + 'futures>=2.1.6; python_version == "2.7"', 'six>=1.7.3', 'gensim>=1.0.0', 'scipy>=0.15.0',