Commits

Jason R. Coombs  committed 0e7361f

Converting to use 'use_2to3' parameter for building on Python 3, as this apparently would also support the include_package_data parameter

  • Participants
  • Parent commits a3cc563

Comments (0)

Files changed (1)

 	def __init__(self, dist):
 		raise RuntimeError("test command not supported on svg.charts. Use setup.py nosetests instead")
 
-try:
-	from distutils.command.build_py import build_py_2to3 as build_py
-except ImportError:
-	from distutils.command.build_py import build_py
-
 _this_dir = os.path.dirname(__file__)
 _long_description = open('readme.txt').read().strip()
 
 	# see http://code.google.com/p/python-nose/issues/detail?id=219
 	cmdclass=dict(
 		test=DisabledTestCommand,
-		build_py=build_py,
 	),
 	setup_requires=[
 		'hgtools',
 	],
+	use_2to3 = True,
 )
 
 if __name__ == '__main__':