--- a/setup.py +++ b/setup.py @@ -91,17 +91,6 @@ # distutils.setup() 'obsoletes' parameter not introduced until Python 2.5. extra_setup_params["obsoletes"] = ["suds"] -if sys.version_info >= (3, 0): - extra_setup_params["use_2to3"] = True - - # Teach Python's urllib lib2to3 fixer that the old urllib2.__version__ - # data member is now stored in the urllib.request module. - import lib2to3.fixes.fix_urllib - for x in lib2to3.fixes.fix_urllib.MAPPING["urllib2"]: - if x[0] == "urllib.request": - x[1].append("__version__") - break; - # Wrap long_description at 72 characters since PKG-INFO package distribution # metadata file stores this text with an 8 space indentation. long_description = """