From 9a87d9a0f2f1df58057bc2505fb84e90571c3375 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Tue, 4 Mar 2014 09:49:40 -0800 Subject: [PATCH] Fix wheel dependency specification --- setupbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupbase.py b/setupbase.py index 25c630f3c..2a56d65ea 100644 --- a/setupbase.py +++ b/setupbase.py @@ -643,7 +643,7 @@ def get_bdist_wheel(): _remove_startswith(requires, pkg) requires.append("gnureadline; sys.platform == 'darwin' and platform.python_implementation == 'CPython'") requires.append("pyreadline (>=2.0); sys.platform == 'win32' and platform.python_implementation == 'CPython'") - requires.append("mock; extra == 'test'; python_version < '3.3'") + requires.append("mock; extra == 'test' and python_version < '3.3'") for r in requires: pkg_info['Requires-Dist'] = r write_pkg_info(metadata_path, pkg_info)