mirror of https://github.com/docker/docker-py.git
Add py2-ipaddress dependency for python 2.x
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
01cf62b4a3
commit
b0e234eb0c
|
@ -1,3 +1,4 @@
|
|||
requests==2.5.3
|
||||
six>=1.4.0
|
||||
websocket-client==0.32.0
|
||||
py2-ipaddress==3.4.1
|
|
@ -0,0 +1,3 @@
|
|||
requests==2.5.3
|
||||
six>=1.4.0
|
||||
websocket-client==0.32.0
|
3
setup.py
3
setup.py
|
@ -12,6 +12,9 @@ requirements = [
|
|||
'websocket-client >= 0.32.0',
|
||||
]
|
||||
|
||||
if sys.version_info[0] == 2:
|
||||
requirements.append('py2-ipaddress >= 3.4.1')
|
||||
|
||||
exec(open('docker/version.py').read())
|
||||
|
||||
with open('./test-requirements.txt') as test_reqs_txt:
|
||||
|
|
Loading…
Reference in New Issue