From 66547ba4dfb0408c9bff0b2fce13b4e5cd03cfb3 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Sat, 7 Apr 2012 11:50:52 -0700 Subject: The 2to3 tool now runs automatically when running unit tests under Python 3. Still need to get spec tests and README doctests working though. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 056c321..461e43f 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ template_files = ['*.mustache', '*.txt'] # # http://packages.python.org/distribute/python3.html#note-on-compatibility-with-setuptools # -if sys.version_info < (2, 7): +if sys.version_info < (3, ): extra = {} else: # For testing purposes, we also use use_2to3 with Python 2.7. This -- cgit v1.2.1