Commits

Jason R. Coombs committed e19e5f4

Use distribute's use_2to3 for Python 3 conversion

  • Participants
  • Parent commits 078e188

Comments (0)

Files changed (1)

 
 from setuptools import find_packages, setup
 
-try:
-	from distutils.command.build_py import build_py_2to3 as build_py
-except ImportError:
-	from distutils.command.build_py import build_py
-
 py26reqs = ['importlib'] if sys.version_info < (2, 7) else []
 
 # add any platform-specific requirements
 	setup_requires = [
 		'hgtools',
 	],
-	cmdclass=dict(build_py=build_py),
+	use_2to3=True,
 )
-