Skip to content

Commit b67c90d

Browse files
committed
Use the platform.python_implementation because it's the most compat
See <pypa/packaging#72 (comment)> for a discussion of the various setuptools different aliases support. This means we don't work with 20.2 to 20.6 (released mid-Feb till late-Mar 2016).
1 parent d999875 commit b67c90d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565

6666
# A conditional extra will only install these items when the extra is
6767
# requested and the condition matches.
68-
"datrie:platform_python_implementation == 'CPython'": ["datrie"],
69-
"lxml:platform_python_implementation == 'CPython'": ["lxml"],
68+
"datrie:platform.python_implementation == 'CPython'": ["datrie"],
69+
"lxml:platform.python_implementation == 'CPython'": ["lxml"],
7070

7171
# Standard extras, will be installed when the extra is requested.
7272
"genshi": ["genshi"],
@@ -77,6 +77,6 @@
7777
# extra that will be installed whenever the condition matches and the
7878
# all extra is requested.
7979
"all": ["genshi", "charade"],
80-
"all:platform_python_implementation == 'CPython'": ["datrie", "lxml"],
80+
"all:platform.python_implementation == 'CPython'": ["datrie", "lxml"],
8181
},
8282
)

0 commit comments

Comments
 (0)