From 579288c5eb684dd09d1ef298929a566f40151205 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 27 Feb 2013 09:10:47 -0500 Subject: Now using universal code for Python 2 & 3. The most notable changes are the use of unicode_literals and absolute_imports. Actually, absolute_imports was the biggest deal as it gives us relative imports. For the first time extensions import markdown relative to themselves. This allows other packages to embed the markdown lib in a subdir of their project and still be able to use our extensions. --- fabfile.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fabfile.py') diff --git a/fabfile.py b/fabfile.py index b50f007..d0be188 100644 --- a/fabfile.py +++ b/fabfile.py @@ -55,10 +55,6 @@ def build_tests(version=_pyversion[:3]): local('cp -r tests/* build/test.%s/tests' % version) local('cp run-tests.py build/test.%s/run-tests.py' % version) local('cp setup.cfg build/test.%s/setup.cfg' % version) - if version.startswith('3'): - # Do 2to3 conversion - local('2to3-%s -w -d build/test.%s/markdown' % (version, version)) - def generate_test(file): """ Generate a given test. """ -- cgit v1.2.3