diff -rauN setuptools-57.4.0/setup.cfg setuptools-57.4.0-no-2to3-patch/setup.cfg --- setuptools-57.4.0/setup.cfg 2021-07-19 02:30:57.000000000 +0200 +++ setuptools-57.4.0-no-2to3-patch/setup.cfg 2021-12-29 19:43:52.034173281 +0100 @@ -108,7 +108,6 @@ setuptools.finalize_distribution_options = parent_finalize = setuptools.dist:_Distribution.finalize_options keywords = setuptools.dist:Distribution._finalize_setup_keywords - 2to3_doctests = setuptools.dist:Distribution._finalize_2to3_doctests distutils.setup_keywords = eager_resources = setuptools.dist:assert_string_list namespace_packages = setuptools.dist:check_nsp @@ -127,10 +126,6 @@ dependency_links = setuptools.dist:assert_string_list test_loader = setuptools.dist:check_importable test_runner = setuptools.dist:check_importable - use_2to3 = setuptools.dist:assert_bool - convert_2to3_doctests = setuptools.dist:assert_string_list - use_2to3_fixers = setuptools.dist:assert_string_list - use_2to3_exclude_fixers = setuptools.dist:assert_string_list egg_info.writers = PKG-INFO = setuptools.command.egg_info:write_pkg_info requires.txt = setuptools.command.egg_info:write_requirements diff -rauN setuptools-57.4.0/setuptools/command/build_py.py setuptools-57.4.0-no-2to3-patch/setuptools/command/build_py.py --- setuptools-57.4.0/setuptools/command/build_py.py 2021-07-19 02:30:57.000000000 +0200 +++ setuptools-57.4.0-no-2to3-patch/setuptools/command/build_py.py 2021-12-29 19:46:48.627752136 +0100 @@ -123,9 +123,9 @@ outf, copied = self.copy_file(srcfile, target) make_writable(target) srcfile = os.path.abspath(srcfile) - if (copied and - srcfile in self.distribution.convert_2to3_doctests): - self.__doctests_2to3.append(outf) +# if (copied and +# srcfile in self.distribution.convert_2to3_doctests): +# self.__doctests_2to3.append(outf) def analyze_manifest(self): self.manifest_files = mf = {}