Skip to content

Commit 21aabd6

Browse files
committed
Try fixing html5lib#231 again: Return to using platform_python_implementation
This makes us require setuptools>=18.5
1 parent d5b0dc2 commit 21aabd6

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

requirements-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ $USE_OPTIONAL != "true" && $USE_OPTIONAL != "false" ]]; then
66
fi
77

88
# Make sure we're running setuptools >= 18.5
9-
pip install -U pip setuptools
9+
pip install -U pip setuptools>=18.5
1010

1111
pip install -U -r requirements-test.txt
1212

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
six
22
webencodings
33
ordereddict ; python_version < '2.7'
4+
setuptools>=18.5

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
install_requires=[
5353
'six',
5454
'webencodings',
55+
'setuptools>=18.5'
5556
],
5657
extras_require={
5758
# A empty extra that only has a conditional marker will be
@@ -60,8 +61,8 @@
6061

6162
# A conditional extra will only install these items when the extra is
6263
# 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"],
6566

6667
# Standard extras, will be installed when the extra is requested.
6768
"genshi": ["genshi"],
@@ -72,6 +73,6 @@
7273
# extra that will be installed whenever the condition matches and the
7374
# all extra is requested.
7475
"all": ["genshi", "chardet>=2.2"],
75-
"all:platform.python_implementation == 'CPython'": ["datrie", "lxml"],
76+
"all:platform_python_implementation == 'CPython'": ["datrie", "lxml"],
7677
},
7778
)

0 commit comments

Comments
 (0)