Skip to content

Commit c76a914

Browse files
committed
Only install ipaddress if python version < 3.3
Signed-off-by: Joffrey F <[email protected]>
1 parent cba2e97 commit c76a914

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ requests==2.5.3
22
six>=1.4.0
33
websocket-client==0.32.0
44
backports.ssl_match_hostname>=3.5 ; python_version < '3.5'
5-
ipaddress ; python_version < '3.5'
5+
ipaddress==1.0.16 ; python_version < '3.3'

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22
import os
3-
import sys
43
from setuptools import setup
54

65
ROOT_DIR = os.path.dirname(__file__)
@@ -14,7 +13,7 @@
1413

1514
extras_require = {
1615
':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
17-
':python_version < "3.5"': 'ipaddress',
16+
':python_version < "3.3"': 'ipaddress >= 1.0.16',
1817
}
1918

2019
exec(open('docker/version.py').read())

0 commit comments

Comments
 (0)