Kaydet (Commit) c76a914e authored tarafından Joffrey F's avatar Joffrey F

Only install ipaddress if python version < 3.3

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst cba2e973
......@@ -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
#!/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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment