From 1a2d980318da8aa4b93d84bd363efb0609023dfe Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 9 Dec 2010 05:06:05 -0800 Subject: [PATCH] Clearer versioning. --- Cython/Compiler/Tests/TestParseTreeTransforms.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Tests/TestParseTreeTransforms.py b/Cython/Compiler/Tests/TestParseTreeTransforms.py index 6ea60a1a..30e4389d 100644 --- a/Cython/Compiler/Tests/TestParseTreeTransforms.py +++ b/Cython/Compiler/Tests/TestParseTreeTransforms.py @@ -144,7 +144,7 @@ class TestWithTransform(object): # (TransformTest): # Disabled! """, t) -if sys.version_info[:2] > (2, 4): +if sys.version_info[:2] >= (2, 5): from Cython.Debugger import DebugWriter from Cython.Debugger.Tests.TestLibCython import DebuggerTestCase else: diff --git a/setup.py b/setup.py index 844ab0ea..ee565cd9 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ else: setuptools_extra_args = {} # tells whether to include cygdb (the script and the Cython.Debugger package -include_debugger = sys.version_info[:2] > (2, 4) +include_debugger = sys.version_info[:2] >= (2, 5) if 'setuptools' in sys.modules: setuptools_extra_args['zip_safe'] = False -- 2.26.2