1 diff --git a/setup.py b/setup.py
2 index a2091c0..7e01bba 100644
5 @@ -13,8 +13,7 @@ if sys.version_info >= (3,):
6 from distribute_setup import use_setuptools
9 - extra = {'use_2to3': True,
10 - 'test_dirs': test_dirs,
11 + extra = {'test_dirs': test_dirs,
12 'test_build_dir': 'build/tests',
13 'pyversion_patching': True,
15 diff --git a/setup3lib.py b/setup3lib.py
16 index 27bdb93..761b74f 100644
19 @@ -18,7 +18,6 @@ else:
21 from setuptools import Distribution as _Distribution
22 from distutils.core import Command
23 - from setuptools.command.build_py import Mixin2to3
24 from distutils import dir_util, file_util, log
25 import setuptools.command.test
26 from pkg_resources import normalize_path
27 @@ -68,7 +67,7 @@ else:
28 self.pyversion_patching = False
29 _Distribution.__init__(self, attrs)
31 - class BuildTestsCommand (Command, Mixin2to3):
32 + class BuildTestsCommand (Command):
33 # Create mirror copy of tests, convert all .py files using 2to3
36 @@ -83,7 +82,6 @@ else:
37 self.test_base = test_base
40 - use_2to3 = getattr(self.distribution, 'use_2to3', False)
41 test_dirs = getattr(self.distribution, 'test_dirs', [])
42 test_base = self.test_base
43 bpy_cmd = self.get_finalized_command("build_py")
44 @@ -112,9 +110,6 @@ else:
46 doc_modified.append(dstfile)
49 - self.run_2to3(py_modified)
50 - self.run_2to3(doc_modified, True)
51 if self.distribution.pyversion_patching: