Require ipaddress on Python < 3.5

Signed-off-by: Felix Yan <felixonmars@archlinux.org>
This commit is contained in:
Felix Yan 2016-04-08 00:34:38 +08:00
parent 9da5493135
commit cba2e973ec
2 changed files with 3 additions and 1 deletions

View File

@ -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'
backports.ssl_match_hostname>=3.5 ; python_version < '3.5'
ipaddress ; python_version < '3.5'

View File

@ -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())