From b67c90d5b71ec1cca334d8a0918b8a1cf5373b4e Mon Sep 17 00:00:00 2001 From: Geoffrey Sneddon Date: Mon, 25 Apr 2016 00:01:40 +0100 Subject: [PATCH] Use the platform.python_implementation because it's the most compat See 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). --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 34710414..b6ea24af 100644 --- a/setup.py +++ b/setup.py @@ -65,8 +65,8 @@ # A conditional extra will only install these items when the extra is # requested and the condition matches. - "datrie:platform_python_implementation == 'CPython'": ["datrie"], - "lxml:platform_python_implementation == 'CPython'": ["lxml"], + "datrie:platform.python_implementation == 'CPython'": ["datrie"], + "lxml:platform.python_implementation == 'CPython'": ["lxml"], # Standard extras, will be installed when the extra is requested. "genshi": ["genshi"], @@ -77,6 +77,6 @@ # extra that will be installed whenever the condition matches and the # all extra is requested. "all": ["genshi", "charade"], - "all:platform_python_implementation == 'CPython'": ["datrie", "lxml"], + "all:platform.python_implementation == 'CPython'": ["datrie", "lxml"], }, )