summaryrefslogtreecommitdiff
path: root/extra/python-setuptools/setuptools-57.4.0-no-2to3.patch
blob: bcd24e180c9f1061b752260c5def0682173824fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 = {}