File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ boto3==1.4.4
2
2
botocore == 1.5.62
3
3
click == 6.6
4
4
docutils == 0.12
5
- futures == 3.0.5
6
5
jmespath == 0.9.0
7
6
pyaml == 15.8.2
8
7
python-dateutil == 2.5.3
Original file line number Diff line number Diff line change 13
13
'requirements.txt' , session = pip .download .PipSession (),
14
14
)
15
15
16
+ pip_requirements = [str (r .req ) for r in requirements ]
17
+
16
18
# Only install futures package if using a Python version <= 2.7
17
- if sys .version_info [0 ] == 2 :
18
- pip_requirements = [str (r .req ) for r in requirements ]
19
- else :
20
- pip_requirements = [str (r .req )
21
- for r in requirements if 'futures' not in str (r .req )]
19
+ if sys .version_info < (3 , 0 ):
20
+ pip_requirements .append ('futures' )
22
21
23
22
test_requirements = [
24
23
# TODO: put package test requirements here
You can’t perform that action at this time.
0 commit comments