From cba2e973ec6341d08a4dbf6dc4fdad7cd5b3c727 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Fri, 8 Apr 2016 00:34:38 +0800 Subject: [PATCH] Require ipaddress on Python < 3.5 Signed-off-by: Felix Yan --- requirements.txt | 3 ++- setup.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8161e2b8..c257d71c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ requests==2.5.3 six>=1.4.0 websocket-client==0.32.0 -backports.ssl_match_hostname>=3.5 ; python_version < '3.5' \ No newline at end of file +backports.ssl_match_hostname>=3.5 ; python_version < '3.5' +ipaddress ; python_version < '3.5' \ No newline at end of file diff --git a/setup.py b/setup.py index 2be705dd..57afd8b8 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ requirements = [ extras_require = { ':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5', + ':python_version < "3.5"': 'ipaddress', } exec(open('docker/version.py').read())