diff --git a/requirements.txt b/requirements.txt index c257d71c..a79b7bf8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ requests==2.5.3 six>=1.4.0 websocket-client==0.32.0 backports.ssl_match_hostname>=3.5 ; python_version < '3.5' -ipaddress ; python_version < '3.5' \ No newline at end of file +ipaddress==1.0.16 ; python_version < '3.3' \ No newline at end of file diff --git a/setup.py b/setup.py index 57afd8b8..fac5129f 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/env python import os -import sys from setuptools import setup ROOT_DIR = os.path.dirname(__file__) @@ -14,7 +13,7 @@ requirements = [ extras_require = { ':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5', - ':python_version < "3.5"': 'ipaddress', + ':python_version < "3.3"': 'ipaddress >= 1.0.16', } exec(open('docker/version.py').read())