mirror of https://github.com/docker/docker-py.git
Only install ipaddress if python version < 3.3
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
cba2e973ec
commit
c76a914e01
|
|
@ -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'
|
||||
ipaddress==1.0.16 ; python_version < '3.3'
|
||||
3
setup.py
3
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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue