File tree 4 files changed +19
-4
lines changed
4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,14 @@ cache:
16
16
env :
17
17
- USE_OPTIONAL=true
18
18
- USE_OPTIONAL=false
19
+ - USE_OPTIONAL=true SETUPTOOLS=18.5
20
+ - USE_OPTIONAL=false SETUPTOOLS=18.5
21
+ - USE_OPTIONAL=true SETUPTOOLS=20.2.2
22
+ - USE_OPTIONAL=false SETUPTOOLS=20.2.2
23
+ - USE_OPTIONAL=true SETUPTOOLS=20.6.6
24
+ - USE_OPTIONAL=false SETUPTOOLS=20.6.6
25
+ - USE_OPTIONAL=true SETUPTOOLS=20.10.0
26
+ - USE_OPTIONAL=false SETUPTOOLS=20.10.0
19
27
20
28
before_install :
21
29
- git submodule update --init --recursive
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ if [[ $USE_OPTIONAL != "true" && $USE_OPTIONAL != "false" ]]; then
6
6
fi
7
7
8
8
# Make sure we're running setuptools >= 18.5
9
- pip install -U pip setuptools
9
+ pip install -U pip setuptools> =18.5
10
+
11
+ # Install specific version of setuptools, maybe
12
+ if [ -n " $SETUPTOOLS " ]; then
13
+ pip install " setuptools==$SETUPTOOLS "
14
+ fi
10
15
11
16
pip install -U -r requirements-test.txt
12
17
Original file line number Diff line number Diff line change 1
1
six
2
2
webencodings
3
3
ordereddict ; python_version < '2.7'
4
+ setuptools >= 18.5
Original file line number Diff line number Diff line change 52
52
install_requires = [
53
53
'six' ,
54
54
'webencodings' ,
55
+ 'setuptools>=18.5'
55
56
],
56
57
extras_require = {
57
58
# A empty extra that only has a conditional marker will be
60
61
61
62
# A conditional extra will only install these items when the extra is
62
63
# requested and the condition matches.
63
- "datrie:platform.python_implementation == 'CPython'" : ["datrie" ],
64
- "lxml:platform.python_implementation == 'CPython'" : ["lxml" ],
64
+ "datrie:platform_python_implementation == 'CPython'" : ["datrie" ],
65
+ "lxml:platform_python_implementation == 'CPython'" : ["lxml" ],
65
66
66
67
# Standard extras, will be installed when the extra is requested.
67
68
"genshi" : ["genshi" ],
72
73
# extra that will be installed whenever the condition matches and the
73
74
# all extra is requested.
74
75
"all" : ["genshi" , "chardet>=2.2" ],
75
- "all:platform.python_implementation == 'CPython'" : ["datrie" , "lxml" ],
76
+ "all:platform_python_implementation == 'CPython'" : ["datrie" , "lxml" ],
76
77
},
77
78
)
You can’t perform that action at this time.
0 commit comments