Skip to content

Commit 91876a7

Browse files
committed
Merge pull request #234 from gsnedders/pep345_python_impl_setup
Use the platform.python_implementation because it's the most compat; r=nobody!
2 parents d999875 + b67c90d commit 91876a7

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)